In file include/snoop.h:

typedef struct BuffaloSnooper

Global data for Buffalo Snooper libraries.

[more]int users
Number of programs that currently have accessed libbuffalosnooper
[more]char libpath[100]
Path to Buffalo Snooper libraries.
[more]char preload[500]
Full list of sublibraries to preload
[more]char sdlname[30]
Simple Directmedia Library soname goes here
[more]char gtkname[30]
Gtk+ name goes here
[more]int lock
Value returned by semget()
[more]int spies
Number of spies and targets.


Documentation

Global data for Buffalo Snooper libraries. Use bs_glob() to get a pointer, and shmdt() when done. Access functions will be made available in libbuffalosnooper (slowly) to ensure no race conditions happen. For now, deal with some ickiness.
oint users
Number of programs that currently have accessed libbuffalosnooper

ochar libpath[100]
Path to Buffalo Snooper libraries. It's a fixed string of 100 bytes max, including terminating NULL. If you need more space, you have other problems.

ochar preload[500]
Full list of sublibraries to preload

ochar sdlname[30]
Simple Directmedia Library soname goes here

ochar gtkname[30]
Gtk+ name goes here

oint lock
Value returned by semget()

oint spies
Number of spies and targets. If spies count is zero, no procs will be added. If it reaches zero while there are still procs left, don't expect all logs to remain intact.

Author:
Ronny Bangsund
See Also:
bs_glob(), bs_lock(), bs_unlock(), bs_startservice(), bs_endservice()

Alphabetic index



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