X-Git-Url: http://git.eversberg.eu/gitweb.cgi?p=lcr.git;a=blobdiff_plain;f=cause.h;h=a9c8a41b7e527f558968bb35a5f33b86ee617378;hp=21d53f1e884c8e78753913b6a6bdb49ae80852be;hb=ec40766edc4b55496be56d3123b266900e15dc29;hpb=2ed0fee489c37a6e2d4473f6185ebbe3e746ac11 diff --git a/cause.h b/cause.h index 21d53f1..a9c8a41 100644 --- a/cause.h +++ b/cause.h @@ -26,6 +26,7 @@ #define CAUSE_NOUSER 18 #define CAUSE_NOANSWER 19 #define CAUSE_REJECTED 21 +#define CAUSE_NONSELECTED 26 #define CAUSE_OUTOFORDER 27 #define CAUSE_INVALID 28 #define CAUSE_FACILITYREJECTED 29 @@ -37,15 +38,16 @@ #define CAUSE_UNIMPLEMENTED 79 struct isdn_cause { - char *english; - char *german; + const char *english; + const char *german; }; struct isdn_location { - char *english; - char *german; + const char *english; + const char *german; }; extern struct isdn_cause isdn_cause[128]; extern struct isdn_location isdn_location[16]; char *get_isdn_cause(int cause, int location, int type); +void collect_cause(int *multicause, int *multilocation, int newcause, int newlocation);