17 typedef struct rpmsqElem *
rpmsq;
33 #if defined(_RPMSQ_INTERNAL) 38 struct rpmsqElem * q_forw;
39 struct rpmsqElem * q_back;
41 volatile pid_t reaped;
94 void rpmsqAction(
int signum,
void * info,
void * context)
134 void *
rpmsqThread(
void * (*start) (
void * arg),
void * arg)
void rpmsqAction(int signum, void *info, void *context)
Default signal handler.
pid_t rpmsqFork(rpmsq sq)
Fork a child process.
int rpmsqJoin(void *thread)
Wait for thread to terminate.
pid_t rpmsqWait(rpmsq sq)
Wait for child process to be reaped.
int rpmsqInsert(void *elem, void *prev)
Insert node into from queue.
void(* rpmsqAction_t)(int signum, void *info, void *context)
Default signal handler prototype.
int rpmsqThreadEqual(void *thread)
Compare thread with current thread.
void * rpmsqThread(void *(*start)(void *arg), void *arg)
Call a function in a thread.
Cumulative statistics for an operation.
int rpmsqEnable(int signum, rpmsqAction_t handler)
Enable or disable a signal handler.
int rpmsqExecve(const char **argv)
Execute a command, returning its status.
int rpmsqRemove(void *elem)
Remove node from queue.
unsigned long int rpmtime_t