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 #ifndef _ASTERISK_PRIVACY_H
00024 #define _ASTERISK_PRIVACY_H
00025
00026 #if defined(__cplusplus) || defined(c_plusplus)
00027 extern "C" {
00028 #endif
00029
00030 #define AST_PRIVACY_DENY (1 << 0)
00031 #define AST_PRIVACY_ALLOW (1 << 1)
00032 #define AST_PRIVACY_KILL (1 << 2)
00033 #define AST_PRIVACY_TORTURE (1 << 3)
00034 #define AST_PRIVACY_UNKNOWN (1 << 16)
00035
00036 int ast_privacy_check(char *dest, char *cid);
00037
00038 int ast_privacy_set(char *dest, char *cid, int status);
00039
00040 int ast_privacy_reset(char *dest);
00041
00042 #if defined(__cplusplus) || defined(c_plusplus)
00043 }
00044 #endif
00045
00046 #endif