[asterisk-commits] eliel: branch group/data_api_gsoc2009 r201227 - in /team/group/data_api_gsoc2...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Jun 16 17:44:41 CDT 2009
Author: eliel
Date: Tue Jun 16 17:44:38 2009
New Revision: 201227
URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=201227
Log:
Rename some variables.
Modified:
team/group/data_api_gsoc2009/include/asterisk/data.h
team/group/data_api_gsoc2009/main/data.c
Modified: team/group/data_api_gsoc2009/include/asterisk/data.h
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/data_api_gsoc2009/include/asterisk/data.h?view=diff&rev=201227&r1=201226&r2=201227
==============================================================================
--- team/group/data_api_gsoc2009/include/asterisk/data.h (original)
+++ team/group/data_api_gsoc2009/include/asterisk/data.h Tue Jun 16 17:44:38 2009
@@ -76,13 +76,13 @@
#endif
/*! \brief The data type of the data node. */
-enum ast_data_element_t {
- INTEGER,
- UNSIGNED_INTEGER,
- DOUBLE,
- STRING,
- IPADDR,
- POINTER
+enum ast_data_type {
+ AST_DATA_INTEGER,
+ AST_DATA_UNSIGNED_INTEGER,
+ AST_DATA_DOUBLE,
+ AST_DATA_STRING,
+ AST_DATA_IPADDR,
+ AST_DATA_POINTER
};
/*! \brief opaque definition of an ast_data handler, a tree node. */
Modified: team/group/data_api_gsoc2009/main/data.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/group/data_api_gsoc2009/main/data.c?view=diff&rev=201227&r1=201226&r2=201227
==============================================================================
--- team/group/data_api_gsoc2009/main/data.c (original)
+++ team/group/data_api_gsoc2009/main/data.c Tue Jun 16 17:44:38 2009
@@ -36,7 +36,7 @@
/*! \brief The data tree to be returned by the callbacks and
managed by functions local to this file. */
struct ast_data {
- enum ast_data_element_t type;
+ enum ast_data_type type;
char *name;
struct ao2_container *children;
char data[0];
More information about the asterisk-commits
mailing list