
Go to the source code of this file.
Defines | |
| #define | ADDRESS_NODE 7 |
| #define | ADDRESS_SWITCH_NODE 6 |
| #define | ADDRESS_TYPE_VAL 0 |
| #define | ANCILLARY_NODE 4 |
| #define | ATTR_PTR(_p) ( (_p)+4+2*NR_OF_KIDS(_p) ) |
| #define | BASIC_ATTR_SIZE 4 |
| #define | BODY_ATTR 2 |
| #define | BODY_EMAILHDR_LEN (sizeof(BODY_EMAILHDR_STR)-1) |
| #define | BODY_EMAILHDR_STR "body" |
| #define | BUSY_NODE 8 |
| #define | BUSY_STR "busy" |
| #define | BUSY_STR_LEN (sizeof(BUSY_STR)-1) |
| #define | BUSY_VAL 486 |
| #define | BYDAY_ATTR 10 |
| #define | BYHOUR_ATTR 9 |
| #define | BYMINUTE_ATTR 8 |
| #define | BYMONTH_ATTR 14 |
| #define | BYMONTHDAY_ATTR 11 |
| #define | BYSECOND_ATTR 7 |
| #define | BYSETPOS_ATTR 16 |
| #define | BYWEEKNO_ATTR 13 |
| #define | BYYEARDAY_ATTR 12 |
| #define | CLEAR_ATTR 2 |
| #define | COMMENT_ATTR 1 |
| #define | CONTAINS_ATTR 1 |
| #define | COUNT_ATTR 6 |
| #define | CPL_NODE 1 |
| #define | DEFAULT_NODE 9 |
| #define | DESTINATION_VAL 1 |
| #define | DISPLAY_VAL 5 |
| #define | DTEND_ATTR 1 |
| #define | DTSTART_ATTR 0 |
| #define | DURATION_ATTR 2 |
| #define | EMERGENCY_STR "emergency" |
| #define | EMERGENCY_STR_LEN (sizeof(EMERGENCY_STR)-1) |
| #define | EMERGENCY_VAL 0 |
| #define | EQUAL_ATTR 2 |
| #define | ERROR_STR "error" |
| #define | ERROR_STR_LEN (sizeof(ERROR_STR)-1) |
| #define | ERROR_VAL 500 |
| #define | FAILURE_NODE 10 |
| #define | FIELD_ATTR 0 |
| #define | FIRSTONLY_VAL 2 |
| #define | FREQ_ATTR 3 |
| #define | GET_NODE_SIZE(_n) ( 4+2*(_n) ) |
| #define | GREATER_ATTR 1 |
| #define | HOST_VAL 2 |
| #define | INCOMING_NODE 2 |
| #define | INTERVAL_ATTR 4 |
| #define | IS_ATTR 0 |
| #define | KID_OFFSET(_p, _n) ntohs(*KID_OFFSET_PTR(_p,_n)) |
| #define | KID_OFFSET_PTR(_p, _n) ( (unsigned short*)((_p)+4+2*(_n)) ) |
| #define | LANGUAGE_NODE 14 |
| #define | LANGUAGE_SWITCH_NODE 15 |
| #define | LESS_ATTR 0 |
| #define | LOCATION_ATTR 0 |
| #define | LOCATION_NODE 13 |
| #define | LOG_NODE 11 |
| #define | LOOKUP_NODE 12 |
| #define | MAIL_NODE 16 |
| #define | MATCHES_SUBTAG_ATTR 1 |
| #define | MATCHES_TAG_ATTR 0 |
| #define | MAX_COMMENT_SIZE 128 |
| #define | MAX_NAME_SIZE 32 |
| #define | NAME_ATTR 0 |
| #define | NO_VAL 0 |
| #define | NOANSWER_NODE 18 |
| #define | NODE_TYPE(_p) ( *((unsigned char*)(_p)) ) |
| #define | NON_URGENT_STR "non-urgent" |
| #define | NON_URGENT_STR_LEN (sizeof(NON_URGENT_STR)-1) |
| #define | NON_URGENT_VAL 3 |
| #define | NORMAL_STR "normal" |
| #define | NORMAL_STR_LEN (sizeof(NORMAL_STR)-1) |
| #define | NORMAL_VAL 2 |
| #define | NOT_PRESENT_NODE 33 |
| #define | NOTFOUND_NODE 17 |
| #define | NOTFOUND_STR "notfound" |
| #define | NOTFOUND_STR_LEN (sizeof(NOTFOUND_STR)-1) |
| #define | NOTFOUND_VAL 404 |
| #define | NR_OF_ATTR(_p) ( *((unsigned char* )((_p)+1+1)) ) |
| #define | NR_OF_KIDS(_p) ( *((unsigned char* )((_p)+1)) ) |
| #define | ORDERING_ATTR 3 |
| #define | ORGANIZATION_VAL 1 |
| #define | ORIGIN_VAL 0 |
| #define | ORIGINAL_DESTINATION_VAL 2 |
| #define | OTHERWISE_NODE 32 |
| #define | OUTGOING_NODE 3 |
| #define | PARALLEL_VAL 0 |
| #define | PARAM_ATTR 1 |
| #define | PERMANENT_ATTR 0 |
| #define | PORT_VAL 3 |
| #define | PRIORITY_ATTR 1 |
| #define | PRIORITY_NODE 20 |
| #define | PRIORITY_SWITCH_NODE 21 |
| #define | PRIOSTR_ATTR 3 |
| #define | PROXY_NODE 19 |
| #define | REASON_ATTR 1 |
| #define | RECURSE_ATTR 2 |
| #define | REDIRECT_NODE 23 |
| #define | REDIRECTION_NODE 24 |
| #define | REF_ATTR 0 |
| #define | REJECT_NODE 22 |
| #define | REJECT_STR "reject" |
| #define | REJECT_STR_LEN (sizeof(REJECT_STR)-1) |
| #define | REJECT_VAL 603 |
| #define | REMOVE_LOCATION_NODE 25 |
| #define | SEQUENTIAL_VAL 1 |
| #define | SET_KID_OFFSET(_p, _n, _o) *KID_OFFSET_PTR(_p,_n)=htons(_o) |
| #define | SIMPLE_NODE_SIZE(_p) ( 4+2*NR_OF_KIDS(_p) ) |
| #define | SOURCE_ATTR 0 |
| #define | SOURCE_REG_STR "registration" |
| #define | SOURCE_REG_STR_LEN (sizeof("registration")-1) |
| #define | STATUS_ATTR 0 |
| #define | STRING_NODE 28 |
| #define | STRING_SWITCH_NODE 29 |
| #define | SUB_NODE 26 |
| #define | SUBACTION_NODE 5 |
| #define | SUBDOMAIN_OF_ATTR 2 |
| #define | SUBFIELD_ATTR 1 |
| #define | SUBJECT_ATTR 1 |
| #define | SUBJECT_EMAILHDR_LEN (sizeof(SUBJECT_EMAILHDR_STR)-1) |
| #define | SUBJECT_EMAILHDR_STR "subject" |
| #define | SUBJECT_VAL 0 |
| #define | SUCCESS_NODE 27 |
| #define | TEL_VAL 4 |
| #define | TIME_NODE 30 |
| #define | TIME_SWITCH_NODE 31 |
| #define | TIMEOUT_ATTR 1 |
| #define | TO_ATTR 0 |
| #define | TZID_ATTR 0 |
| #define | TZURL_ATTR 1 |
| #define | UNKNOWN_PRIO_VAL 4 |
| #define | UNTIL_ATTR 5 |
| #define | URGENT_STR "urgent" |
| #define | URGENT_STR_LEN (sizeof(URGENT_STR)-1) |
| #define | URGENT_VAL 1 |
| #define | URL_ATTR 0 |
| #define | URL_MAILTO_LEN (sizeof(URL_MAILTO_STR)-1) |
| #define | URL_MAILTO_STR "mailto:" |
| #define | USER_AGENT_VAL 2 |
| #define | USER_VAL 1 |
| #define | VALUE_ATTR 2 |
| #define | WKST_ATTR 15 |
| #define | YES_VAL 1 |
| #define ADDRESS_NODE 7 |
| #define ADDRESS_SWITCH_NODE 6 |
| #define ADDRESS_TYPE_VAL 0 |
| #define ANCILLARY_NODE 4 |
| #define ATTR_PTR | ( | _p | ) | ( (_p)+4+2*NR_OF_KIDS(_p) ) |
Definition at line 207 of file CPL_tree.h.
Referenced by encode_address_attr(), encode_address_switch_attr(), encode_lang_attr(), encode_location_attr(), encode_log_attr(), encode_lookup_attr(), encode_mail_attr(), encode_priority_attr(), encode_proxy_attr(), encode_redirect_attr(), encode_reject_attr(), encode_rmvloc_attr(), encode_string_attr(), encode_string_switch_attr(), encode_sub_attr(), encode_time_attr(), encode_time_switch_attr(), run_address_switch(), run_language_switch(), run_location(), run_log(), run_lookup(), run_mail(), run_priority_switch(), run_proxy(), run_redirect(), run_reject(), run_remove_location(), run_string_switch(), run_sub(), and run_time_switch().
| #define BASIC_ATTR_SIZE 4 |
Definition at line 210 of file CPL_tree.h.
| #define BODY_ATTR 2 |
| #define BODY_EMAILHDR_LEN (sizeof(BODY_EMAILHDR_STR)-1) |
| #define BODY_EMAILHDR_STR "body" |
| #define BUSY_NODE 8 |
| #define BUSY_STR "busy" |
| #define BUSY_STR_LEN (sizeof(BUSY_STR)-1) |
| #define BUSY_VAL 486 |
| #define BYDAY_ATTR 10 |
| #define BYHOUR_ATTR 9 |
| #define BYMINUTE_ATTR 8 |
| #define BYMONTH_ATTR 14 |
| #define BYMONTHDAY_ATTR 11 |
| #define BYSECOND_ATTR 7 |
| #define BYSETPOS_ATTR 16 |
| #define BYWEEKNO_ATTR 13 |
| #define BYYEARDAY_ATTR 12 |
| #define CLEAR_ATTR 2 |
Definition at line 136 of file CPL_tree.h.
Referenced by encode_location_attr(), encode_lookup_attr(), run_location(), and run_lookup().
| #define COMMENT_ATTR 1 |
| #define CONTAINS_ATTR 1 |
Definition at line 79 of file CPL_tree.h.
Referenced by encode_address_attr(), encode_string_attr(), run_address_switch(), and run_string_switch().
| #define COUNT_ATTR 6 |
| #define CPL_NODE 1 |
Definition at line 28 of file CPL_tree.h.
Referenced by cpl_run_script(), encode_node(), and new_cpl_interpreter().
| #define DEFAULT_NODE 9 |
| #define DESTINATION_VAL 1 |
Definition at line 68 of file CPL_tree.h.
Referenced by encode_address_switch_attr(), and run_address_switch().
| #define DISPLAY_VAL 5 |
Definition at line 75 of file CPL_tree.h.
Referenced by encode_string_switch_attr(), and run_address_switch().
| #define DTEND_ATTR 1 |
| #define DTSTART_ATTR 0 |
| #define DURATION_ATTR 2 |
| #define EMERGENCY_STR "emergency" |
Definition at line 120 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define EMERGENCY_STR_LEN (sizeof(EMERGENCY_STR)-1) |
Definition at line 121 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define EMERGENCY_VAL 0 |
Definition at line 119 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define EQUAL_ATTR 2 |
Definition at line 117 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define ERROR_STR "error" |
| #define ERROR_STR_LEN (sizeof(ERROR_STR)-1) |
| #define ERROR_VAL 500 |
| #define FAILURE_NODE 10 |
Definition at line 37 of file CPL_tree.h.
Referenced by encode_node(), run_lookup(), and run_proxy().
| #define FIELD_ATTR 0 |
Definition at line 65 of file CPL_tree.h.
Referenced by encode_address_switch_attr(), encode_string_switch_attr(), run_address_switch(), and run_string_switch().
| #define FIRSTONLY_VAL 2 |
Definition at line 156 of file CPL_tree.h.
Referenced by encode_proxy_attr(), reply_callback(), and run_proxy().
| #define FREQ_ATTR 3 |
| #define GET_NODE_SIZE | ( | _n | ) | ( 4+2*(_n) ) |
| #define GREATER_ATTR 1 |
Definition at line 116 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define HOST_VAL 2 |
Definition at line 72 of file CPL_tree.h.
Referenced by encode_address_switch_attr(), and run_address_switch().
| #define INCOMING_NODE 2 |
| #define INTERVAL_ATTR 4 |
| #define IS_ATTR 0 |
Definition at line 78 of file CPL_tree.h.
Referenced by encode_address_attr(), encode_string_attr(), run_address_switch(), and run_string_switch().
| #define KID_OFFSET | ( | _p, | |||
| _n | ) | ntohs(*KID_OFFSET_PTR(_p,_n)) |
Definition at line 213 of file CPL_tree.h.
Referenced by run_address_switch(), run_cpl_node(), run_language_switch(), run_lookup(), run_priority_switch(), run_proxy(), run_string_switch(), and run_time_switch().
| #define KID_OFFSET_PTR | ( | _p, | |||
| _n | ) | ( (unsigned short*)((_p)+4+2*(_n)) ) |
Definition at line 206 of file CPL_tree.h.
| #define LANGUAGE_NODE 14 |
| #define LANGUAGE_SWITCH_NODE 15 |
| #define LESS_ATTR 0 |
Definition at line 115 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define LOCATION_ATTR 0 |
Definition at line 147 of file CPL_tree.h.
Referenced by encode_rmvloc_attr(), and run_remove_location().
| #define LOCATION_NODE 13 |
| #define LOG_NODE 11 |
| #define LOOKUP_NODE 12 |
| #define MAIL_NODE 16 |
| #define MATCHES_SUBTAG_ATTR 1 |
Definition at line 89 of file CPL_tree.h.
Referenced by encode_lang_attr(), and run_language_switch().
| #define MATCHES_TAG_ATTR 0 |
Definition at line 88 of file CPL_tree.h.
Referenced by encode_lang_attr(), and run_language_switch().
| #define MAX_COMMENT_SIZE 128 |
| #define MAX_NAME_SIZE 32 |
| #define NAME_ATTR 0 |
| #define NO_VAL 0 |
Definition at line 137 of file CPL_tree.h.
Referenced by encode_location_attr(), encode_lookup_attr(), encode_proxy_attr(), encode_redirect_attr(), run_location(), run_lookup(), run_proxy(), and run_redirect().
| #define NOANSWER_NODE 18 |
| #define NODE_TYPE | ( | _p | ) | ( *((unsigned char*)(_p)) ) |
Definition at line 203 of file CPL_tree.h.
Referenced by cpl_run_script(), encode_node(), new_cpl_interpreter(), run_address_switch(), run_cpl_node(), run_language_switch(), run_lookup(), run_priority_switch(), run_proxy(), run_string_switch(), run_sub(), and run_time_switch().
| #define NON_URGENT_STR "non-urgent" |
Definition at line 129 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define NON_URGENT_STR_LEN (sizeof(NON_URGENT_STR)-1) |
Definition at line 130 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define NON_URGENT_VAL 3 |
Definition at line 128 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define NORMAL_STR "normal" |
Definition at line 126 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define NORMAL_STR_LEN (sizeof(NORMAL_STR)-1) |
Definition at line 127 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define NORMAL_VAL 2 |
Definition at line 125 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define NOT_PRESENT_NODE 33 |
Definition at line 60 of file CPL_tree.h.
Referenced by encode_node(), run_address_switch(), run_language_switch(), run_priority_switch(), run_string_switch(), and run_time_switch().
| #define NOTFOUND_NODE 17 |
| #define NOTFOUND_STR "notfound" |
| #define NOTFOUND_STR_LEN (sizeof(NOTFOUND_STR)-1) |
| #define NOTFOUND_VAL 404 |
| #define NR_OF_ATTR | ( | _p | ) | ( *((unsigned char* )((_p)+1+1)) ) |
Definition at line 205 of file CPL_tree.h.
Referenced by encode_address_attr(), encode_address_switch_attr(), encode_lang_attr(), encode_location_attr(), encode_log_attr(), encode_lookup_attr(), encode_mail_attr(), encode_node(), encode_priority_attr(), encode_proxy_attr(), encode_redirect_attr(), encode_reject_attr(), encode_rmvloc_attr(), encode_string_attr(), encode_string_switch_attr(), encode_sub_attr(), encode_time_attr(), encode_time_switch_attr(), run_address_switch(), run_language_switch(), run_location(), run_log(), run_lookup(), run_mail(), run_priority_switch(), run_proxy(), run_redirect(), run_reject(), run_remove_location(), run_string_switch(), run_sub(), and run_time_switch().
| #define NR_OF_KIDS | ( | _p | ) | ( *((unsigned char* )((_p)+1)) ) |
Definition at line 204 of file CPL_tree.h.
Referenced by encode_node(), run_address_switch(), run_cpl_node(), run_language_switch(), run_location(), run_log(), run_lookup(), run_mail(), run_priority_switch(), run_proxy(), run_redirect(), run_reject(), run_remove_location(), run_string_switch(), run_sub(), and run_time_switch().
| #define ORDERING_ATTR 3 |
| #define ORGANIZATION_VAL 1 |
Definition at line 84 of file CPL_tree.h.
Referenced by encode_string_switch_attr(), and run_string_switch().
| #define ORIGIN_VAL 0 |
Definition at line 67 of file CPL_tree.h.
Referenced by encode_address_switch_attr(), and run_address_switch().
| #define ORIGINAL_DESTINATION_VAL 2 |
Definition at line 69 of file CPL_tree.h.
Referenced by encode_address_switch_attr(), and run_address_switch().
| #define OTHERWISE_NODE 32 |
Definition at line 59 of file CPL_tree.h.
Referenced by encode_node(), run_address_switch(), run_language_switch(), run_priority_switch(), run_string_switch(), and run_time_switch().
| #define OUTGOING_NODE 3 |
| #define PARALLEL_VAL 0 |
Definition at line 154 of file CPL_tree.h.
Referenced by encode_proxy_attr(), reply_callback(), and run_proxy().
| #define PARAM_ATTR 1 |
Definition at line 148 of file CPL_tree.h.
| #define PERMANENT_ATTR 0 |
Definition at line 159 of file CPL_tree.h.
Referenced by encode_redirect_attr(), and run_redirect().
| #define PORT_VAL 3 |
Definition at line 73 of file CPL_tree.h.
Referenced by encode_address_switch_attr(), and run_address_switch().
| #define PRIORITY_ATTR 1 |
Definition at line 135 of file CPL_tree.h.
Referenced by encode_location_attr(), and run_location().
| #define PRIORITY_NODE 20 |
| #define PRIORITY_SWITCH_NODE 21 |
| #define PRIOSTR_ATTR 3 |
Definition at line 118 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define PROXY_NODE 19 |
| #define REASON_ATTR 1 |
| #define RECURSE_ATTR 2 |
| #define REDIRECT_NODE 23 |
| #define REDIRECTION_NODE 24 |
| #define REF_ATTR 0 |
| #define REJECT_NODE 22 |
| #define REJECT_STR "reject" |
| #define REJECT_STR_LEN (sizeof(REJECT_STR)-1) |
| #define REJECT_VAL 603 |
| #define REMOVE_LOCATION_NODE 25 |
| #define SEQUENTIAL_VAL 1 |
Definition at line 155 of file CPL_tree.h.
Referenced by encode_proxy_attr(), reply_callback(), and run_proxy().
| #define SET_KID_OFFSET | ( | _p, | |||
| _n, | |||||
| _o | ) | *KID_OFFSET_PTR(_p,_n)=htons(_o) |
| #define SIMPLE_NODE_SIZE | ( | _p | ) | ( 4+2*NR_OF_KIDS(_p) ) |
Definition at line 208 of file CPL_tree.h.
Referenced by cpl_run_script(), encode_node(), run_address_switch(), run_language_switch(), run_lookup(), run_priority_switch(), run_proxy(), run_string_switch(), run_sub(), and run_time_switch().
| #define SOURCE_ATTR 0 |
Definition at line 141 of file CPL_tree.h.
| #define SOURCE_REG_STR "registration" |
| #define SOURCE_REG_STR_LEN (sizeof("registration")-1) |
| #define STATUS_ATTR 0 |
| #define STRING_NODE 28 |
| #define STRING_SWITCH_NODE 29 |
| #define SUB_NODE 26 |
| #define SUBACTION_NODE 5 |
Definition at line 32 of file CPL_tree.h.
Referenced by encode_node(), run_cpl_node(), and run_sub().
| #define SUBDOMAIN_OF_ATTR 2 |
Definition at line 80 of file CPL_tree.h.
Referenced by encode_address_attr(), and run_address_switch().
| #define SUBFIELD_ATTR 1 |
Definition at line 66 of file CPL_tree.h.
Referenced by encode_address_switch_attr(), and run_address_switch().
| #define SUBJECT_ATTR 1 |
| #define SUBJECT_EMAILHDR_LEN (sizeof(SUBJECT_EMAILHDR_STR)-1) |
| #define SUBJECT_EMAILHDR_STR "subject" |
| #define SUBJECT_VAL 0 |
Definition at line 83 of file CPL_tree.h.
Referenced by encode_string_switch_attr(), and run_string_switch().
| #define SUCCESS_NODE 27 |
| #define TEL_VAL 4 |
Definition at line 74 of file CPL_tree.h.
Referenced by encode_address_switch_attr(), and run_address_switch().
| #define TIME_NODE 30 |
| #define TIME_SWITCH_NODE 31 |
| #define TIMEOUT_ATTR 1 |
| #define TO_ATTR 0 |
| #define TZID_ATTR 0 |
Definition at line 92 of file CPL_tree.h.
Referenced by encode_time_switch_attr(), and run_time_switch().
| #define TZURL_ATTR 1 |
Definition at line 93 of file CPL_tree.h.
| #define UNKNOWN_PRIO_VAL 4 |
Definition at line 131 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define UNTIL_ATTR 5 |
| #define URGENT_STR "urgent" |
Definition at line 123 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define URGENT_STR_LEN (sizeof(URGENT_STR)-1) |
Definition at line 124 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define URGENT_VAL 1 |
Definition at line 122 of file CPL_tree.h.
Referenced by encode_priority_attr(), and run_priority_switch().
| #define URL_ATTR 0 |
Definition at line 134 of file CPL_tree.h.
Referenced by encode_location_attr(), and run_location().
| #define URL_MAILTO_LEN (sizeof(URL_MAILTO_STR)-1) |
| #define URL_MAILTO_STR "mailto:" |
| #define USER_AGENT_VAL 2 |
Definition at line 85 of file CPL_tree.h.
Referenced by encode_string_switch_attr(), and run_string_switch().
| #define USER_VAL 1 |
Definition at line 71 of file CPL_tree.h.
Referenced by encode_address_switch_attr(), and run_address_switch().
| #define VALUE_ATTR 2 |
Definition at line 149 of file CPL_tree.h.
| #define WKST_ATTR 15 |
| #define YES_VAL 1 |
Definition at line 138 of file CPL_tree.h.
Referenced by encode_location_attr(), encode_lookup_attr(), encode_proxy_attr(), encode_redirect_attr(), run_location(), run_lookup(), run_proxy(), and run_redirect().
1.5.6