Re: Idea for linked-list

2007-03-15 Thread Bruno Haible
Simon Josefsson wrote: > > This function is invoked for each list item that for any reason is > > being removed from the list. Is it possible to do this with the > > linked-list module? Good idea. I'm apply this: 2007-03-15 Bruno Haible <[EMAIL PROTECTED]> * lib/gl_list.h (gl_listelem

Re: Idea for linked-list

2007-03-13 Thread Bruno Haible
Simon Josefsson wrote: > One important feature of our current implementation is that I can register > my custom "free" function, which can do more things than just memory > deallocation: > > ... > > This function is invoked for each list item that for any reason is > being removed from the list.

Idea for linked-list

2007-03-12 Thread Simon Josefsson
I'm looking at Bruno's data structure modules, in particular linked-list, and consider using it to hold the information related to all open fd's handled by select() in GnuTLS's gnutls-serv. One important feature of our current implementation is that I can register my custom "free" function, which