~ubuntu-branches/ubuntu/natty/freeradius/natty-updates

« back to all changes in this revision

Viewing changes to src/include/modules.h

  • Committer: Bazaar Package Importer
  • Author(s): Josip Rodin
  • Date: 2009-11-23 03:57:37 UTC
  • mfrom: (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 28.
  • Revision ID: james.westby@ubuntu.com-20091123035737-zsgtzhfych8hir68
Tags: 2.1.7+dfsg-1
* Adopting the package, closes: #536623.
* New upstream version, closes: #513484.
  + Fixes the blooper in unlang evaluation logic, closes: #526175.
* Used quilt (and added README.source), and moved upstream file patching
  into debian/patches/. The source is no longer in collab-maint git
  (to make it simpler for me to finally get this out the door), but
  kept the .gitignore should we need that again.
* Dropped the dialup_admin/bin/backup_radacct patch (integrated upstream).
* Dropped the raddb/Makefile patch (problem no longer exists upstream).
* Dropped the lib/packet.c lib/radius.c main/listen.c patches (was from
  upstream 2.0.5 anyway).
* Dropped references to otp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Dropped references to snmp.conf, it no longer exists upstream.
  Keep removing the conffile statoverride in prerm.
* Ship /etc/freeradius/modules/* in the freeradius package.
* Stop shipping sites-enabled symlinks in the package and instead create
  them only on initial install, thanks to Matej Vela, closes: #533396.
* Add export PATH="${PATH:+$PATH:}/usr/sbin:/sbin" to the init script
  at the request of John Morrissey, closes: #550143.
* Stop installing /var/run/freeradius in the package to silence Lintian.
  The init script already recreates it at will.
* Remove executable bit from example.pl to silence Lintian.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * module.h     Interface to the RADIUS module system.
3
3
 *
4
 
 * Version:     $Id: modules.h,v 1.35 2008/02/15 09:47:58 aland Exp $
 
4
 * Version:     $Id$
5
5
 *
6
6
 */
7
7
 
9
9
#define RADIUS_MODULES_H
10
10
 
11
11
#include <freeradius-devel/ident.h>
12
 
RCSIDH(modules_h, "$Id: modules.h,v 1.35 2008/02/15 09:47:58 aland Exp $")
 
12
RCSIDH(modules_h, "$Id$")
13
13
 
14
14
#include <freeradius-devel/conffile.h>
15
15
 
24
24
  RLM_COMPONENT_PRE_PROXY,      /* 5 */
25
25
  RLM_COMPONENT_POST_PROXY,     /* 6 */
26
26
  RLM_COMPONENT_POST_AUTH,      /* 7 */
27
 
  RLM_COMPONENT_COUNT           /* 8: How many components are there */
 
27
#ifdef WITH_COA
 
28
  RLM_COMPONENT_RECV_COA,       /* 8 */
 
29
  RLM_COMPONENT_SEND_COA,       /* 9 */
 
30
#endif
 
31
  RLM_COMPONENT_COUNT           /* 8 / 10: How many components are there */
28
32
};
29
33
 
30
34
#define RLM_TYPE_THREAD_SAFE            (0 << 0)
68
72
int module_pre_proxy(int type, REQUEST *request);
69
73
int module_post_proxy(int type, REQUEST *request);
70
74
int module_post_auth(int type, REQUEST *request);
 
75
#ifdef WITH_COA
 
76
int module_recv_coa(int type, REQUEST *request);
 
77
int module_send_coa(int type, REQUEST *request);
 
78
#define MODULE_NULL_COA_FUNCS ,NULL,NULL
 
79
#else
 
80
#define MODULE_NULL_COA_FUNCS
 
81
#endif
71
82
int indexed_modcall(int comp, int idx, REQUEST *request);
72
83
 
 
84
/*
 
85
 *      For now, these are strongly tied together.
 
86
 */
 
87
int virtual_servers_load(CONF_SECTION *config);
 
88
void virtual_servers_free(time_t when);
 
89
 
 
90
 
73
91
#endif /* RADIUS_MODULES_H */