[Osiris-devel]osirisd.c: message-type handlers and sequence numbers

Aaron Racine aaron at darklands.org
Thu Mar 14 02:14:13 EST 2002


Comment wrt osirisd.c:

I could very well be missing something, but by not passing an incoming
message (or at least the sequence number from an incoming message) to
the message-type handlers in process_message(), isn't it impossible to
properly identify the next sequence number to use in the return
packet(s)?

If so, two options would be to pass either message->header or the
entire message to all the message-type handlers.  I don't see a reason
off the top of my head to pass the entire message, so I guess I'd vote
for message->header.  Thoughts?  Or is this not an issue and I'm just
smoking crack?

Aaron





More information about the osiris-devel mailing list