#include <cogent.h>
int IP_NservePackTaskInfo(
char* buffer, int maxlen, char* prefix, char* name, char* domain, char* qname, int nid, int pid, int chid )
;
A buffer used to hold the packed information.
The maximum length of buffer.
A string to be prepended to the packed information.
The task name.
The task's domain name, or NULL.
The task's queue name, or NULL.
The task's node ID.
The task's process ID.
The task's input channel ID.
0 on success. -1 on failure and errno is set:
ENOMEM - the buffer size was too small to hold the result.
This function creates a Lisp-parseable representation of the task information, suitable for transmission to nserve and associated library functions. If domain is NULL, the default domain is used. If qname is NULL, then a blank queue name is used. The nid, pid and chid parameters must all be specified.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.