From 1ef4f09fcfea211e2c5db9106d2270cf4a6a75c4 Mon Sep 17 00:00:00 2001 From: markster Date: Fri, 17 Jan 2003 03:46:33 +0000 Subject: Version 0.3.0 from FTP git-svn-id: http://svn.digium.com/svn/asterisk/trunk@584 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/privacy.h | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 include/asterisk/privacy.h (limited to 'include/asterisk/privacy.h') diff --git a/include/asterisk/privacy.h b/include/asterisk/privacy.h new file mode 100755 index 000000000..263bf4525 --- /dev/null +++ b/include/asterisk/privacy.h @@ -0,0 +1,37 @@ +/* + * Asterisk -- A telephony toolkit for Linux. + * + * Persistant data storage (akin to *doze registry) + * + * Copyright (C) 1999, Mark Spencer + * + * Mark Spencer + * + * This program is free software, distributed under the terms of + * the GNU General Public License + */ + +#ifndef _ASTERISK_PRIVACY_H +#define _ASTERISK_PRIVACY_H + +#if defined(__cplusplus) || defined(c_plusplus) +extern "C" { +#endif + +#define AST_PRIVACY_DENY (1 << 0) /* Don't bother ringing, send to voicemail */ +#define AST_PRIVACY_ALLOW (1 << 1) /* Pass directly to me */ +#define AST_PRIVACY_KILL (1 << 2) /* Play anti-telemarketer message and hangup */ +#define AST_PRIVACY_TORTURE (1 << 3) /* Send directly to tele-torture */ +#define AST_PRIVACY_UNKNOWN (1 << 16) + +int ast_privacy_check(char *dest, char *cid); + +int ast_privacy_set(char *dest, char *cid, int status); + +int ast_privacy_reset(char *dest); + +#if defined(__cplusplus) || defined(c_plusplus) +} +#endif + +#endif -- cgit v1.2.3 From 3c4140b8b100b2e54e8ab6db85354576483c9ec5 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 30 Aug 2005 18:32:10 +0000 Subject: major header file cleanup: license, copyrights, descriptions, markers, etc. remove deprecated config_old.c/config_old.h remove unused cvsid.h git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6454 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/privacy.h | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) (limited to 'include/asterisk/privacy.h') diff --git a/include/asterisk/privacy.h b/include/asterisk/privacy.h index 263bf4525..48d1518c5 100755 --- a/include/asterisk/privacy.h +++ b/include/asterisk/privacy.h @@ -1,14 +1,23 @@ /* - * Asterisk -- A telephony toolkit for Linux. + * Asterisk -- An open source telephony toolkit. * - * Persistant data storage (akin to *doze registry) - * - * Copyright (C) 1999, Mark Spencer + * Copyright (C) 1999 - 2005, Digium, Inc. + * + * Mark Spencer * - * Mark Spencer + * See http://www.asterisk.org for more information about + * the Asterisk project. Please do not directly contact + * any of the maintainers of this project for assistance; + * the project provides a web site, mailing lists and IRC + * channels for your use. * * This program is free software, distributed under the terms of - * the GNU General Public License + * the GNU General Public License Version 2. See the LICENSE file + * at the top of the source tree. + */ + +/* + * Persistant data storage (akin to *doze registry) */ #ifndef _ASTERISK_PRIVACY_H @@ -34,4 +43,4 @@ int ast_privacy_reset(char *dest); } #endif -#endif +#endif /* _ASTERISK_PRIVACY_H */ -- cgit v1.2.3 From 2c3b3edc86c6999c3053c131972a3e29e7621bac Mon Sep 17 00:00:00 2001 From: russell Date: Mon, 24 Oct 2005 20:12:06 +0000 Subject: Doxygen documentation update from oej (issue #5505) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6847 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/privacy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/asterisk/privacy.h') diff --git a/include/asterisk/privacy.h b/include/asterisk/privacy.h index 48d1518c5..686a14d75 100755 --- a/include/asterisk/privacy.h +++ b/include/asterisk/privacy.h @@ -16,8 +16,8 @@ * at the top of the source tree. */ -/* - * Persistant data storage (akin to *doze registry) +/*! \file + * \brief Persistant data storage (akin to *doze registry) */ #ifndef _ASTERISK_PRIVACY_H -- cgit v1.2.3 From 24c1e3c22259fee9f8a08911d5e5c6e2604ead18 Mon Sep 17 00:00:00 2001 From: kpfleming Date: Tue, 29 Nov 2005 18:24:39 +0000 Subject: git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 f38db490-d61c-443f-a65b-d21fe96a405b --- include/asterisk/privacy.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 include/asterisk/privacy.h (limited to 'include/asterisk/privacy.h') diff --git a/include/asterisk/privacy.h b/include/asterisk/privacy.h old mode 100755 new mode 100644 -- cgit v1.2.3