In file include/snoop.h:

typedef struct logmessage

A Buffalo Snooper interprocess message.

[more]long id
Type of message.
[more]int func
Identifier of the function call.
[more]int comment
A comment about this call, if anything is not quite by the book.
[more]int msglen
Length of the message regarding this function call
[more]char msg[1]
Actual string message.


Documentation

A Buffalo Snooper interprocess message. SysV IPC limits the maximum size, so the message is never longer than 4080 bytes.
olong id
Type of message. Currently either MSG_LOG or MSG_QUIT. In the latter case, the spy should stop reading messages and delete the queue from memory.

oint func
Identifier of the function call. Uses a lookup table from the library.

oint comment
A comment about this call, if anything is not quite by the book. Uses a lookup table from the library. If the arguments to the function call are fine, no comment will be made. If anything wrong can be detected with the call, a comment is made.

oint msglen
Length of the message regarding this function call

ochar msg[1]
Actual string message. Contains msglen bytes of data.

Alphabetic index



This page was generated with the help of DOC++.