~ubuntu-branches/ubuntu/utopic/ejabberd/utopic

« back to all changes in this revision

Viewing changes to src/expat_erl.c

  • Committer: Bazaar Package Importer
  • Author(s): Konstantin Khomoutov, Konstantin Khomoutov
  • Date: 2011-10-03 20:27:12 UTC
  • mfrom: (1.1.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20111003202712-w9071rc7vleldxwx
Tags: 2.1.9-1
[ Konstantin Khomoutov ]
* New upstream release.
* Remove obsoleted version.patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
      XML_Parser parser;
43
43
} expat_data;
44
44
 
45
 
static XML_Memory_Handling_Suite ms = {driver_alloc, driver_realloc, driver_free};
 
45
static XML_Memory_Handling_Suite ms;
46
46
 
47
47
void encode_name(const XML_Char *name)
48
48
{
256
256
 
257
257
DRIVER_INIT(expat_erl) /* must match name in driver_entry */
258
258
{
 
259
    ms.malloc_fcn = driver_alloc;
 
260
    ms.realloc_fcn = driver_realloc;
 
261
    ms.free_fcn = driver_free;
259
262
    return &expat_driver_entry;
260
263
}
261
264