Ticket #97 (closed enhancement: fixed)

Opened 17 months ago

Last modified 17 months ago

util/ directory cleanups

Reported by: plaes Owned by: smoku
Priority: major Component: General
Version: 2.1 Keywords:
Cc: Tracforge_linkmap:
Blocking: Blocked By:

Description

There are two header files in util/ subdirectory which contain duplicate definitions.

Attachments

jabberd-pool-cleanups.patch (9.7 KB) - added by plaes 17 months ago.
Cleans up pool.[ch] definitions
jabberd-nad-and-pool-cleanups.patch (25.4 KB) - added by plaes 17 months ago.
Moves nad_* definitions out of the util.h and uses pool_t instead of pool type.
jabberd-xhash-cleanups.patch (5.2 KB) - added by plaes 17 months ago.
xhash_* cleanups

Change History

Changed 17 months ago by plaes

Cleans up pool.[ch] definitions

Changed 17 months ago by plaes

  • type changed from defect to enhancement
  • summary changed from util/util.h and util/nad.h contain duplicate definitions to util/ directory cleanups

Although, I have already made a few cleanups, what do you think about adding new dependencies (glib-2.0) ? ;)

All this memory pool_* code could be replaced with Glib's memory slices for example.

Changed 17 months ago by plaes

Moves nad_* definitions out of the util.h and uses pool_t instead of pool type.

Changed 17 months ago by plaes

xhash_* cleanups

Changed 17 months ago by smoku

glib is discussable. Could we move the glib discussion to the mailinglist?

Changed 17 months ago by smoku

  • status changed from new to closed
  • resolution set to fixed

(In [257]) Integrated util/*.h cleanups by plaes. Closes #97

Changed 17 months ago by smoku

(In [264]) Fix for storage_db compilation error after util/ cleanup. Fixes #99, refs #97

Note: See TracTickets for help on using tickets.