24 #include <sys/types.h> 50 int rlexec(
const char *command);
57 const char *
rlpass(
const char *p);
62 char *
rlstrncpy(
char *dest,
const char *source,
int n);
69 char *
rlstrlinecpy(
char *dest,
const char *source,
int n);
75 int rlvsnprintf(
char *text,
int len,
const char *format, va_list ap);
81 int rlsnprintf(
char *text,
int len,
const char *format, ...);
91 const char *
rlFindFile(
const char *pattern,
int *context);
133 int rlSubmitPvserver(
const char *env,
const char *path,
const char *pvs,
const char *options=NULL);
140 int rlOption(
const char *
string,
const char *option);
145 int rlIntOption(
const char *
string,
const char *option,
int _default);
150 float rlFloatOption(
const char *
string,
const char *option,
float _default);
155 const char *
rlTextOption(
const char *
string,
const char *option,
const char *_default);
175 int rlStartsWith(
const char *str,
const char *startstr);
180 int rlEndsWith(
const char *str,
const char *endstr);
185 int rlStrMatch(
const char *str,
const char *wild);
191 int rlStat(
const char *filepath,
struct stat *buf);
198 int rlFRead(FILE *fin,
void *data,
int len);
204 int rlFWrite(FILE *fout,
void *data,
int len);
210 int rlWriteFile(
const char *filename,
void *data,
int len);
215 int rlMkdir(
const char *dir,
int mode=0744);
221 int rlBitSet(
int bitnumber,
int *value);
239 int rlBitTest(
int bitnumber,
int *value);
char * rlstrlinecpy(char *dest, const char *source, int n)
int rlLastLinePrintf(const char *format,...)
void rlSetSigtermHandler(void(*handler)(void *arg), void *arg)
int rlSetDebugPrintf(int state)
float rlFloatOption(const char *string, const char *option, float _default)
char * rlstrncpy(char *dest, const char *source, int n)
int rlFWrite(FILE *fout, void *data, int len)
int rlvsnprintf(char *text, int len, const char *format, va_list ap)
int rlBrowser(const char *htmlfile)
int rlDebugPrintf(const char *format,...)
int rlexec(const char *command)
int rlStrMatch(const char *str, const char *wild)
int rlIntOption(const char *string, const char *option, int _default)
void rlPushToDoubleBuffer(double val, double *buffer, int size)
int rlProfibus2(int command)
int rlOption(const char *string, const char *option)
int rlBitClear(int bitnumber, int *value)
int rlMkdir(const char *dir, int mode=0744)
int rlFRead(FILE *fin, void *data, int len)
int rlStat(const char *filepath, struct stat *buf)
int rlWriteFile(const char *filename, void *data, int len)
const char * rlFindFile(const char *pattern, int *context)
int rlBitChange(int bitnumber, int *value)
int rlStartsWith(const char *str, const char *startstr)
int rlsnprintf(char *text, int len, const char *format,...)
int rlBitSet(int bitnumber, int *value)
int rlsystem(const char *command)
const char * rlGetInifile(const char *name)
int rlCopyTextfile(const char *source, const char *destination)
const char * rlTextOption(const char *string, const char *option, const char *_default)
int rlSubmitPvserver(const char *env, const char *path, const char *pvs, const char *options=NULL)
int rlEndsWith(const char *str, const char *endstr)
const char * rlpass(const char *p)
void rlPushToFloatBuffer(float val, float *buffer, int size)
int rlProfibus1(int command)
int rlBitTest(int bitnumber, int *value)