carrierroute.h
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
00029
00030 #ifndef CARRIERROUTE_H
00031 #define CARRIERROUTE_H
00032
00033 #include "../../str.h"
00034
00035 #define DICE_MAX 1000
00036
00037 #define SUBSCRIBER_COLUMN_NUM 3
00038 #define SUBSCRIBER_USERNAME_COL 0
00039 #define SUBSCRIBER_DOMAIN_COL 1
00040 #define SUBSCRIBER_CARRIER_COL 2
00041
00042 #define CARRIERROUTE_MODE_DB 1
00043 #define CARRIERROUTE_MODE_FILE 2
00044
00045 extern str subscriber_table;
00046 extern str * subscriber_columns[];
00047 extern char * config_source;
00048 extern char * config_file;
00049 extern str default_tree;
00050
00051 extern const str CR_EMPTY_PREFIX;
00052
00053 extern int mode;
00054 extern int use_domain;
00055 extern int fallback_default;
00056 extern int cr_fetch_rows;
00057 extern int cr_match_mode;
00058
00059 #endif