00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
#ifndef _ASTERISK_PRIVACY_H
00015
#define _ASTERISK_PRIVACY_H
00016
00017
#if defined(__cplusplus) || defined(c_plusplus)
00018
extern "C" {
00019
#endif
00020
00021 #define AST_PRIVACY_DENY (1 << 0)
00022 #define AST_PRIVACY_ALLOW (1 << 1)
00023 #define AST_PRIVACY_KILL (1 << 2)
00024 #define AST_PRIVACY_TORTURE (1 << 3)
00025 #define AST_PRIVACY_UNKNOWN (1 << 16)
00026
00027
int ast_privacy_check(
char *dest,
char *cid);
00028
00029
int ast_privacy_set(
char *dest,
char *cid,
int status);
00030
00031
int ast_privacy_reset(
char *dest);
00032
00033
#if defined(__cplusplus) || defined(c_plusplus)
00034
}
00035
#endif
00036
00037
#endif