<< IMPORTANT INFORMATION! >> This is an automated message. The message you sent (attached below) requires confirmation before it can be delivered. To confirm that you sent the message below, just hit the "R"eply button and send this message back (you don't need to edit anything). Once this is done, no more confirmations will ne necessary. --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- << INFORMACION IMPORTANTE >> Este es un mensaje automatico. El mensaje que usted ha enviado (mostrado mas abajo) necesita su confirmacion antes de ser entregado. Para confirmar que usted ha enviado el mensaje, solo presione el boton de "R"eply y envie éste mensaje (no es necesario editar el mensaje). Una vez realizado esto, no se necesitarán mas confirmaciones. --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- << INFORMAÇÃO IMPORTANTE >> Esta é uma mensagem automática A mensagem que você enviou (em anexo) requer confirmação antes de ser entregue. Para confirmar o envio basta pressionar o botão de "Reply" e enviar esta mensagem de volta (não é necessário editar). Uma vez que isto seja feito, novas confirmações não serão necessárias. --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- << WICHTIGE INFORMATION >> Dies ist eine automatisch generierte Antwort. Ihre Mail (unten angehaengt) muss vor der Zustellung an mich explizit bestaetigt werden. Um dies zu tun, beantworten Sie einfach diese Mail mit der "Antworten" oder "Reply"-Funktion Ihres Mailprogramms. Es sind keine Aenderungen am Text noetig. Dies ist die einzige Bestaetigung die Sie je an mich senden muessen; Ihre weiteren Nachrichten werden automatisch akzeptiert. Diese Massnahme dient der Bekaempfung von Spam. --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- << INFORMATION IMPORTANTE >> Ceci est un message automatique. Le message que vous avez envoye (dessous) demande confirmation avant qu'il puisse etre envoye Pour confirmer que vous avez bien envoye le message ci-dessous, simplement appuyez sur la touche "R"eply, et renvoyez ce message (Vous n'avez pas besoin d'editer quoique ce soit). Une fois que ceci est fait, vous n'avez pas besoin d'autre confirmations. --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- << INFORMAZIONE IMPORTATE! >> Questo è un messaggio automatico. Il messaggio che hai spedito (allegato sotto) richiede una conferma prima che sia consegnato. Per confermare che sei tu che hai spedito il messaggio, basta cliccare il tasto "R"eply e rispedirlo nuovamente (non hai bisogno di scrivere nessuna altra informazione aggiuntiva). Fatto questo, nessuna altra conferma è richiesta. --- Original Message Follows --- To: openbeos@xxxxxxxxxxxxx Subject: [openbeos] Re: SK: interacting modules Date: Tue, 14 May 2002 23:26:40 +0200 (MEST) From: =?ISO-8859-1?Q?Fran=E7ois_Revol?= <revol@xxxxxxx> that shouldn't be that hard... something like typedef struct bparam { struct bparam *next; char *name; uint32 type; int size; char data[0]; // for sizeof() /* union { void* data_void; uint32 data_uint32; ///... } d; */ } bparam; typedef struct bmessage { uint32 what; bparam *params; } bmessage status_t add_uint32(bmessage *m, char *name, uint32 i) { bparam *p; p = (bparam *) malloc (sizeof(bparam) + sizeof(uint32) + strlen(name) + 1); p->next=NULL; p->size = sizeof(uint32); *((uint32 *)p->data) = i; // simplifies memory managment strcpy((((char *)p)+(sizeof(bparam) + sizeof(uint32))), name); p->name = (((char *)p)+(sizeof(bparam) + sizeof(uint32))); } status_t bmessage_flatten(bmessage *m, void *buffer, size_t *sz) { int size; bparam *p; p = m // calc size while (p) { size += strlen(p->name) + 1; size += p->size + 1; // guess ? p = p->next; } size += 4; // magic number ... if (size > *sz) return B_NO_MEMORY; // maybe... // flatten... // someone knows the layout ? } En réponse à Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>: > So what does that mean? I guess, that I can neither implement BQuery > nor > the node monitoring functions until there is a kernel that provides > some > functionality for that pupose. :-( > > CU, Ingo > > > This email account is protected by: Active Spam Killer (ASK) V2.0.2 - (C) 2001-2002 by Marco Paganini For more information, visit http://www.paganini.net/ask