source: npl/mailserver/dspam/dspam-3.10.2/src/external_lookup.h @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.3 KB
Line 
1/* $Id: external_lookup.h,v 1.00 2009/12/22 12:25:59 sbajic Exp $ */
2
3/*
4 COPYRIGHT (C) 2006 HUGO MONTEIRO
5
6 external lookup library for DSPAM v0.1
7
8 This program is free software; you can redistribute it and/or
9 modify it under the terms of the GNU General Public License
10 as published by the Free Software Foundation; version 2
11 of the License.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU General Public License for more details.
17
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
21
22*/
23
24#ifdef EXT_LOOKUP
25
26#ifndef _EXT_LOOKUP_H
27#define _EXT_LOOKUP_H
28
29#include "agent_shared.h"
30#include "libdspam.h"
31
32int verified_user;
33
34void sig_alrm(int signum);
35char *transcode_query(const char *query, const char *username, char *transcoded_query);
36char *external_lookup(config_t agent_config, const char *username, char *external_uid);
37char *ldap_lookup(config_t agent_config, const char *username, char *external_uid);
38char *program_lookup(config_t agent_config, const char *username, char *external_uid);
39
40#endif /* _EXTERNAL_LOOKUP_H */
41
42#endif /* USE_EXTLOOKUP */
Note: See TracBrowser for help on using the repository browser.