diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2007-11-23 14:45:16 +0200 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2007-11-23 14:45:16 +0200 |
commit | bd01557f273fec707a5b626838defc848be856e5 (patch) | |
tree | 39029f3655826a74ad42f18d511287eec75a5fd0 /rpmio/rpmsq.h | |
parent | 7bba4e7cb11244e75b95526f3c0619836ed55584 (diff) | |
download | librpm-tizen-bd01557f273fec707a5b626838defc848be856e5.tar.gz librpm-tizen-bd01557f273fec707a5b626838defc848be856e5.tar.bz2 librpm-tizen-bd01557f273fec707a5b626838defc848be856e5.zip |
Add doxygen group for rpmsq, include in librpm + hacking docs
Diffstat (limited to 'rpmio/rpmsq.h')
-rw-r--r-- | rpmio/rpmsq.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/rpmio/rpmsq.h b/rpmio/rpmsq.h index 8fc3ff39b..42a2d6d89 100644 --- a/rpmio/rpmsq.h +++ b/rpmio/rpmsq.h @@ -12,15 +12,15 @@ extern "C" { #endif -/** +/** \ingroup rpmsq */ typedef struct rpmsig_s * rpmsig; -/** +/** \ingroup rpmsq */ typedef struct rpmsqElem * rpmsq; -/** +/** \ingroup rpmsq * Default signal handler prototype. * @param signum signal number * @param info (siginfo_t) signal info @@ -55,7 +55,7 @@ extern rpmsq rpmsqQueue; extern sigset_t rpmsqCaught; -/** +/** \ingroup rpmsq * Insert node into from queue. * @param elem node to link * @param prev previous node from queue @@ -63,14 +63,14 @@ extern sigset_t rpmsqCaught; */ int rpmsqInsert(void * elem, void * prev); -/** +/** \ingroup rpmsq * Remove node from queue. * @param elem node to link * @return 0 on success */ int rpmsqRemove(void * elem); -/** +/** \ingroup rpmsq * Default signal handler. * @param signum signal number * @param info (siginfo_t) signal info @@ -78,7 +78,7 @@ int rpmsqRemove(void * elem); */ void rpmsqAction(int signum, void * info, void * context); -/** +/** \ingroup rpmsq * Enable or disable a signal handler. * @param signum signal to enable (or disable if negative) * @param handler sa_sigaction handler (or NULL to use rpmsqHandler()) @@ -86,21 +86,21 @@ void rpmsqAction(int signum, void * info, void * context); */ int rpmsqEnable(int signum, rpmsqAction_t handler); -/** +/** \ingroup rpmsq * Fork a child process. * @param sq scriptlet queue element * @return fork(2) pid */ pid_t rpmsqFork(rpmsq sq); -/** +/** \ingroup rpmsq * Wait for child process to be reaped. * @param sq scriptlet queue element * @return reaped child pid */ pid_t rpmsqWait(rpmsq sq); -/** +/** \ingroup rpmsq * Call a function in a thread. * @param start function * @param arg function argument @@ -108,21 +108,21 @@ pid_t rpmsqWait(rpmsq sq); */ void * rpmsqThread(void * (*start) (void * arg), void * arg); -/** +/** \ingroup rpmsq * Wait for thread to terminate. * @param thread thread * @return 0 on success */ int rpmsqJoin(void * thread); -/** +/** \ingroup rpmsq * Compare thread with current thread. * @param thread thread * @return 0 if not equal */ int rpmsqThreadEqual(void * thread); -/** +/** \ingroup rpmsq * Execute a command, returning its status. */ int rpmsqExecve (const char ** argv); |