[asterisk-commits] dvossel: branch 1.6.2 r201454 - in /branches/1.6.2: ./ doc/datastores.txt

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Jun 17 15:01:23 CDT 2009


Author: dvossel
Date: Wed Jun 17 15:01:20 2009
New Revision: 201454

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=201454
Log:
Merged revisions 201453 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
  r201453 | dvossel | 2009-06-17 15:00:51 -0500 (Wed, 17 Jun 2009) | 3 lines
  
  ast_channel_datastore_alloc is no longer used. updating datastores.txt to reflect that.
........

Modified:
    branches/1.6.2/   (props changed)
    branches/1.6.2/doc/datastores.txt

Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.2/doc/datastores.txt
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.2/doc/datastores.txt?view=diff&rev=201454&r1=201453&r2=201454
==============================================================================
--- branches/1.6.2/doc/datastores.txt (original)
+++ branches/1.6.2/doc/datastores.txt Wed Jun 17 15:01:20 2009
@@ -19,8 +19,8 @@
 
 * How do you create a data store?
 
-1. Use ast_channel_datastore_alloc function to return a pre-allocated structure
-   Ex: datastore = ast_channel_datastore_alloc(&example_datastore, "uid");
+1. Use ast_datastore_alloc function to return a pre-allocated structure
+   Ex: datastore = ast_datastore_alloc(&example_datastore, "uid");
    This function takes two arguments: (datastore info structure, uid)
 2. Attach data to pre-allocated structure.
    Ex: datastore->data = mysillydata;
@@ -36,7 +36,7 @@
 }
 
 struct ast_datastore *datastore = NULL;
-datastore = ast_channel_datastore_alloc(&example_datastore, NULL);
+datastore = ast_datastore_alloc(&example_datastore, NULL);
 datastore->data = mysillydata;
 ast_channel_datastore_add(chan, datastore);
 




More information about the asterisk-commits mailing list