diff options
author | Kevin P. Fleming <kpfleming@digium.com> | 2005-08-30 18:32:10 +0000 |
---|---|---|
committer | Kevin P. Fleming <kpfleming@digium.com> | 2005-08-30 18:32:10 +0000 |
commit | 1632d527955fb4782f10b4cf8c56c3b6971e4fb5 (patch) | |
tree | 6a1252e074cadda423d1a34d51882f28a67a4092 /include/asterisk/res_odbc.h | |
parent | a90915e4e914ec040cfd3c059b49328ed8ee7f5c (diff) |
major header file cleanup: license, copyrights, descriptions, markers, etc.
remove deprecated config_old.c/config_old.h
remove unused cvsid.h
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6454 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/res_odbc.h')
-rwxr-xr-x | include/asterisk/res_odbc.h | 36 |
1 files changed, 22 insertions, 14 deletions
diff --git a/include/asterisk/res_odbc.h b/include/asterisk/res_odbc.h index 66cc5661e..09c1e17ff 100755 --- a/include/asterisk/res_odbc.h +++ b/include/asterisk/res_odbc.h @@ -1,24 +1,34 @@ /* - * Asterisk -- A telephony toolkit for Linux. + * Asterisk -- An open source telephony toolkit. * - * Copyright (C) 1999, Mark Spencer + * Copyright (C) 1999 - 2005, Digium, Inc. + * Copyright (C) 2004 - 2005, Anthony Minessale II * - * Mark Spencer <markster@linux-support.net> + * Mark Spencer <markster@digium.com> + * Anthony Minessale <anthmct@yahoo.com> * - * res_odbc.h <ODBC resource manager> - * Copyright (C) 2004 - 2005 Anthony Minessale II <anthmct@yahoo.com> + * 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 Version 2. See the LICENSE file + * at the top of the source tree. + */ + +/* + * ODBC resource manager */ -#ifndef _RES_ODBC_H -#define _RES_ODBC_H +#ifndef _ASTERISK_RES_ODBC_H +#define _ASTERISK_RES_ODBC_H #include <sql.h> #include <sqlext.h> #include <sqltypes.h> - - - typedef struct odbc_obj odbc_obj; typedef enum { ODBC_SUCCESS=0,ODBC_FAIL=-1} odbc_status; @@ -36,9 +46,6 @@ struct odbc_obj { }; - - - /* functions */ odbc_obj *new_odbc_obj(char *name,char *dsn,char *username, char *password); odbc_status odbc_obj_connect(odbc_obj *obj); @@ -50,4 +57,5 @@ int odbc_dump_fd(int fd,odbc_obj *obj); int odbc_sanity_check(odbc_obj *obj); int odbc_smart_execute(odbc_obj *obj, SQLHSTMT stmt); int odbc_smart_direct_execute(odbc_obj *obj, SQLHSTMT stmt, char *sql); -#endif + +#endif /* _ASTERISK_RES_ODBC_H */ |