Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00037 #ifndef _ACC_ACC_LOGIC_H
00038 #define _ACC_ACC_LOGIC_H
00039
00040 #include "../../str.h"
00041 #include "../../modules/tm/t_hooks.h"
00042 #include "acc_api.h"
00043
00044
00045 void acc_onreq( struct cell* t, int type, struct tmcb_params *ps );
00046
00047 int w_acc_log_request(struct sip_msg *rq, char *comment, char *foo);
00048
00049 #ifdef SQL_ACC
00050 int w_acc_db_request(struct sip_msg *rq, char *comment, char *table);
00051 #endif
00052
00053 #ifdef RAD_ACC
00054 int w_acc_rad_request(struct sip_msg *rq, char *comment, char *foo);
00055 #endif
00056
00057 #ifdef DIAM_ACC
00058 int w_acc_diam_request(struct sip_msg *rq, char *comment, char *foo);
00059 #endif
00060
00061 int acc_api_exec(struct sip_msg *rq, acc_engine_t *eng,
00062 acc_param_t* comment);
00063
00064 #endif