Re: [JDEV] clarification needed in hashtable implementation

2002-11-27 Thread Robert Norris
> In the file jabberd/lib/hashtable.c, The old ghash code (that hashtable.c implements) is deprecated in favour of xhash (xhash.c). You should look at using that for future projects. I'm not familiar with ghashes, so I'm unable to help. Rob. -- Robert Norris

[JDEV] clarification needed in hashtable implementation

2002-11-27 Thread kamesh jayachandran
Hi All, I am looking at jabberd 1.4.2 sources. I cannot understand the following section. In the file jabberd/lib/hashtable.c, In this method, NAMED lookup(HASH_TABLE *table, KEY name, size_t createSize) The else portion(if table->size is non zero), We try to lookup the name from the bucket inde

Re: Re: [JDEV] clarification needed

2002-04-15 Thread kamesh jayachandran
Hi James, My requirement is to send the chat transcript through the mail for the parties involved in the chat.For that I want to keep the log of chat session .As of now I think of doing in the following way. 1)Adding 2 more tables to jabber database(one for keeping track of each message and ano

Re: [JDEV] clarification needed

2002-04-15 Thread James Widman
Never mind; I just realized it's not always feasible to implement logging on the client end. erm, especially with non-jabber clients...yeah. :) James Widman wrote: > Do you really need to implement a protocol extension? You could just > modify your client to keep a log. Here's one working ex

Re: [JDEV] clarification needed

2002-04-15 Thread James Widman
Hi Kamesh, kamesh jayachandran wrote: > I have a need to extend the jabber protocol for the following need. > I want the mail of chat transcript between the two users to be sent to both the >users at the end of chat session. > What is the best method to implement this? Do you really need to imp

[JDEV] clarification needed

2002-04-15 Thread kamesh jayachandran
I have a need to extend the jabber protocol for the following need. I want the mail of chat transcript between the two users to be sent to both the users at the end of chat session. What is the best method to implement this? I am trying to understand the jabberd sources.Can I get all the request

[JDEV] clarification needed

2002-04-15 Thread kamesh jayachandran
I have a need to extend the jabber protocol for the following need. I want the mail of chat transcript between the two users to be sent to both the users at the end of chat session. What is the best method to implement this? I am trying to understand the jabberd sources.Can I get all the request