Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

mod_macs.h

Go to the documentation of this file.
00001 
00012 #include "httpd.h"
00013 #include "http_log.h"
00014 #include "http_config.h"
00015 #include "http_core.h"
00016 #include "http_protocol.h"
00017 #include "ap_config.h"
00018 
00019 #include "libmacs.h"
00020 
00141 typedef struct macs_apxs_cfg_struct {
00143   char *cookie_name;
00145   char *cookie_domain;
00147   char *cf;
00149   void *ctx;
00151   char *lia;
00156   char *uidhdr;
00157 } macs_apxs_cfg;
00158 
00166 typedef struct macs_apxs_dir_cfg_struct {
00168   int inherit_secure;
00170   int secure;
00171 
00173   char *root_resource;
00175   char *root_path;
00177   char *resource;
00178 
00180   table *ns;
00182   table *res;
00184   table *types;
00185 
00187   int authorize;
00188 
00190   pool *p;
00191 } macs_apxs_dir_cfg;
00192 
00193 /* Declaration only. Definition & documentation in mod_macs.c */
00195 extern module MODULE_VAR_EXPORT macs_module;
00196 
00197 /* prototypes for callbacks in macs_commands */
00198 const char *macs_apxs_cfdirective(cmd_parms *,void *,const char *);
00199 const char *macs_apxs_secure_dir(cmd_parms *,void *,int);
00200 const char *macs_apxs_map_element(cmd_parms *,void *,const char *,
00201                                   const char *,const char *);
00202 
00203 
00204 /* prototypes for callbacks in macs_module */
00205 extern void macs_apxs_init(server_rec *,pool *);
00206 extern void *macs_apxs_dircfg_init(pool *,char *);
00207 extern void *macs_apxs_svrcfg_init(pool *,server_rec *);
00208 extern int macs_apxs_authenticate(request_rec *);
00209 extern void macs_apxs_child_init(server_rec *,pool *);
00210 extern void macs_apxs_child_exit(server_rec *,pool *);
00211 extern int macs_apxs_expose_upc(request_rec *);
00212 extern void *macs_apxs_dircfg_merge(pool *,void *,void *);
00213 extern const char *macs_apxs_map_resource(cmd_parms *,void *,const char *);
00214 extern const char *macs_apxs_authorize_dir(cmd_parms *,void *,int);
00215 extern int macs_apxs_authorize(request_rec *);
00216 
00217 /* prototypes for utility functions in mod_macs_config.c */
00218 extern char *macs_apxs_itoa(long int);
00219 extern int macs_apxs_demapres(macs_apxs_dir_cfg *,request_rec *);

Generated on Tue Oct 8 22:15:54 2002 for MACS Apache Client Module by doxygen1.2.16