Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals

privacy.h

Go to the documentation of this file.
00001 /*
00002  * Asterisk -- A telephony toolkit for Linux.
00003  *
00004  * Persistant data storage (akin to *doze registry)
00005  * 
00006  * Copyright (C) 1999, Mark Spencer
00007  *
00008  * Mark Spencer <markster@linux-support.net>
00009  *
00010  * This program is free software, distributed under the terms of
00011  * the GNU General Public License
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)    /* Don't bother ringing, send to voicemail */
00022 #define AST_PRIVACY_ALLOW   (1 << 1)      /* Pass directly to me */
00023 #define AST_PRIVACY_KILL   (1 << 2)    /* Play anti-telemarketer message and hangup */
00024 #define AST_PRIVACY_TORTURE   (1 << 3)    /* Send directly to tele-torture */
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

Generated on Fri Oct 31 07:05:08 2003 for Asterisk by doxygen 1.3.4