18 typedef struct rpmsqElem *
rpmsq;
34 #if defined(_RPMSQ_INTERNAL)
39 struct rpmsqElem * q_forw;
40 struct rpmsqElem * q_back;
42 volatile pid_t reaped;
95 void rpmsqAction(
int signum,
void * info,
void * context)
135 void *
rpmsqThread(
void * (*start) (
void * arg),
void * arg)
void(* rpmsqAction_t)(int signum, void *info, void *context)
Default signal handler prototype.
unsigned long int rpmtime_t
pid_t rpmsqWait(rpmsq sq)
Wait for child process to be reaped.
pid_t rpmsqFork(rpmsq sq)
Fork a child process.
void * rpmsqThread(void *(*start)(void *arg), void *arg)
Call a function in a thread.
int rpmsqJoin(void *thread)
Wait for thread to terminate.
void rpmsqAction(int signum, void *info, void *context)
Default signal handler.
Cumulative statistics for an operation.
int rpmsqRemove(void *elem)
Remove node from queue.
int rpmsqInsert(void *elem, void *prev)
Insert node into from queue.
int rpmsqExecve(const char **argv)
Execute a command, returning its status.
static void
Print copy of spec file, filling in Group/Description/Summary from specspo.
int rpmsqThreadEqual(void *thread)
Compare thread with current thread.
int rpmsqEnable(int signum, rpmsqAction_t handler)
Enable or disable a signal handler.