File: sbnc.h

package info (click to toggle)
sbnc 1.2-20
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 6,144 kB
  • ctags: 4,866
  • sloc: cpp: 17,557; ansic: 15,514; sh: 13,419; tcl: 5,567; php: 448; makefile: 281
file content (14 lines) | stat: -rw-r--r-- 497 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#define STATUS_RUN 0
#define STATUS_SHUTDOWN 1
#define STATUS_PAUSE 2

const char *sbncGetBaseName(void);
bool sbncIsAbsolutePath(const char *Path);
void sbncPathCanonicalize(char *NewPath, const char *Path);
const char *sbncBuildPath(const char *Filename, const char *BasePath = NULL);
const char *sbncGetModulePath(void);

#ifndef SBNC
/**< main function of the shroudBNC shared object */
typedef int (*sbncLoad)(const char *ModulePath, bool LPC, bool Daemonized, int argc, char **argv);
#endif