Table of Contents
General stuff
Functions
- _fini Shut down current process, and possibly free shared memory.
- _init Initialise shared memory for spy services.
- bs_addlog Bare-bones access to add an entry.
- bs_addproc
- bs_allocproc Allocate a process structure and create the logfile.
- bs_allocshm
- bs_check Check if one or more new log entries have been created for the process.
- bs_createspy Watch the logs from a specific process.
- bs_freeproc
- bs_getkey Return semaphore key of shared memory
- bs_getmem Get a pointer to memory related to a key.
- bs_getpkey Get the key for a specific pid
- bs_glob Get a pointer to the shared memory containing all BuffaloSnooper data.
- bs_havewatchers Check if any spies have requested snooping on the current process.
- bs_lock Lock the global structure for modification.
- bs_lockproc Lock process list and log entries
- bs_openlibc dlopen() the C library.
- bs_startprocess Start the logging for the current process.
- bs_unlock Allow other processes to modify the global structure.
- bs_unlockproc Allow other processes to modify BSProc structs and logs
- bs_watch Loop until at least one new log entry has been created for the process.
- bs_workdir Allocate a string with the Buffalo Snooper directory for the current user.
Typedefs
This page was generated with the help of DOC++.