:orphan: .. index:: pair: group; TAPI for signal and signal sets remote calls .. _doxid-group__te__lib__rpc__signal: TAPI for signal and signal sets remote calls ============================================ .. toctree:: :hidden: struct_rpc_struct_sigaction.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block // typedefs typedef struct :ref:`rpc_struct_sigaction` :ref:`rpc_struct_sigaction`; // structs struct :ref:`rpc_struct_sigaction`; // global functions char* :ref:`rpc_signal`(:ref:`rcf_rpc_server`* rpcs, :ref:`rpc_signum` signum, const char* handler); char* :ref:`rpc_bsd_signal`(:ref:`rcf_rpc_server`* rpcs, :ref:`rpc_signum` signum, const char* handler); char* :ref:`rpc_sysv_signal`(:ref:`rcf_rpc_server`* rpcs, :ref:`rpc_signum` signum, const char* handler); char* :ref:`rpc___sysv_signal`(:ref:`rcf_rpc_server`* rpcs, :ref:`rpc_signum` signum, const char* handler); int :ref:`rpc_kill`(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_pid_t` pid, :ref:`rpc_signum` signum); int :ref:`rpc_pthread_kill`(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_pthread_t` tid, :ref:`rpc_signum` signum); int :ref:`rpc_tgkill`(:ref:`rcf_rpc_server`* rpcs, tarpc_int tgid, tarpc_int tid, :ref:`rpc_signum` sig); :ref:`tarpc_pid_t` :ref:`rpc_waitpid`(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_pid_t` pid, :ref:`rpc_wait_status`* status, :ref:`rpc_waitpid_opts` options); void :ref:`rpc_sigaction_init`(:ref:`rcf_rpc_server`* rpcs, struct :ref:`rpc_struct_sigaction`* sa); void :ref:`rpc_sigaction_release`(:ref:`rcf_rpc_server`* rpcs, struct :ref:`rpc_struct_sigaction`* sa); static void :ref:`rpc_sigaction_reinit`(:ref:`rcf_rpc_server`* rpcs, struct :ref:`rpc_struct_sigaction`* sa); int :ref:`rpc_sigaction`(:ref:`rcf_rpc_server`* rpcs, :ref:`rpc_signum` signum, const struct :ref:`rpc_struct_sigaction`* act, struct :ref:`rpc_struct_sigaction`* oldact); int :ref:`rpc_sigaltstack`(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_stack_t`* ss, :ref:`tarpc_stack_t`* oss); rpc_sigset_p :ref:`rpc_sigset_new`(:ref:`rcf_rpc_server`* rpcs); void :ref:`rpc_sigset_delete`(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set); rpc_sigset_p :ref:`rpc_sigreceived`(:ref:`rcf_rpc_server`* rpcs); int :ref:`rpc_siginfo_received`(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_siginfo_t`* siginfo); int :ref:`rpc_sigset_cmp`(:ref:`rcf_rpc_server`* rpcs, const rpc_sigset_p first_set, const rpc_sigset_p second_set); int :ref:`rpc_sigprocmask`(:ref:`rcf_rpc_server`* rpcs, rpc_sighow how, const rpc_sigset_p set, rpc_sigset_p oldset); int :ref:`rpc_sigemptyset`(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set); int :ref:`rpc_sigfillset`(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set); int :ref:`rpc_sigaddset`(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set, :ref:`rpc_signum` signum); int :ref:`rpc_sigdelset`(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set, :ref:`rpc_signum` signum); int :ref:`rpc_sigismember`(:ref:`rcf_rpc_server`* rpcs, const rpc_sigset_p set, :ref:`rpc_signum` signum); int :ref:`rpc_sigpending`(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set); int :ref:`rpc_sigsuspend`(:ref:`rcf_rpc_server`* rpcs, const rpc_sigset_p set); int :ref:`rpc_ta_kill_death`(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_pid_t` pid); int :ref:`rpc_ta_kill_and_wait`(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_pid_t` pid, :ref:`rpc_signum` sig, unsigned int timeout_s); int :target:`rpc_siginterrupt`(:ref:`rcf_rpc_server`* rpcs, :ref:`rpc_signum` signum, int flag); void :ref:`rpc_signal_registrar_cleanup`(:ref:`rcf_rpc_server`* rpcs); // macros #define :ref:`DEFINE_RPC_STRUCT_SIGACTION`(sa_) #define :ref:`RCF_RPC_MAX_FUNC_NAME` #define :ref:`__RPC_STRUCT_SIGACTION_INITIALIZER` .. _details-group__te__lib__rpc__signal: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Typedefs -------- .. index:: pair: typedef; rpc_struct_sigaction .. _doxid-group__te__lib__rpc__signal_1ga1969f984b818fb96f7ba7bb6d11eac4d: .. ref-code-block:: cpp :class: doxyrest-title-code-block typedef struct :ref:`rpc_struct_sigaction` rpc_struct_sigaction Store information of the action taken by the process when a specific signal is receipt Global Functions ---------------- .. index:: pair: function; rpc_signal .. _doxid-group__te__lib__rpc__signal_1ga613ebd43365474472f7eca67dd75511c: .. ref-code-block:: cpp :class: doxyrest-title-code-block char* rpc_signal(:ref:`rcf_rpc_server`* rpcs, :ref:`rpc_signum` signum, const char* handler) Establish an action to be taken when a given signal **signum** occurs on RPC server. return Pointer to the signal handler function. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - signum - Signal whose behavior is controlled * - handler - Signal handler .. index:: pair: function; rpc_bsd_signal .. _doxid-group__te__lib__rpc__signal_1ga541668a8c18533c247894a10a5dc9bb2: .. ref-code-block:: cpp :class: doxyrest-title-code-block char* rpc_bsd_signal(:ref:`rcf_rpc_server`* rpcs, :ref:`rpc_signum` signum, const char* handler) Establish an action to be taken when a given signal **signum** occurs on RPC server. return Pointer to the signal handler function. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - signum - Signal whose behavior is controlled * - handler - Signal handler .. index:: pair: function; rpc_sysv_signal .. _doxid-group__te__lib__rpc__signal_1gaf1f287242b11f15588aebae61a26d7a3: .. ref-code-block:: cpp :class: doxyrest-title-code-block char* rpc_sysv_signal(:ref:`rcf_rpc_server`* rpcs, :ref:`rpc_signum` signum, const char* handler) Establish an action to be taken when a given signal **signum** occurs on RPC server. return Pointer to the signal handler function. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - signum - Signal whose behavior is controlled * - handler - Signal handler .. index:: pair: function; rpc___sysv_signal .. _doxid-group__te__lib__rpc__signal_1ga25571e12e8b0313419839667c3f698ec: .. ref-code-block:: cpp :class: doxyrest-title-code-block char* rpc___sysv_signal(:ref:`rcf_rpc_server`* rpcs, :ref:`rpc_signum` signum, const char* handler) With help of \__sysv_signal() establish an action to be taken when a given signal **signum** occurs on RPC server. return Pointer to the previous signal handler name (should be released by caller). .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - signum - Signal whose behavior is controlled * - handler - Signal handler .. index:: pair: function; rpc_kill .. _doxid-group__te__lib__rpc__signal_1ga56aff84f6d75998272e7f9ccbdb9a832: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_kill(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_pid_t` pid, :ref:`rpc_signum` signum) Send signal with number **signum** to process or process group whose pid's **pid**. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - pid - Process or process group PID * - signum - Number of signal to be sent .. rubric:: Returns: 0 on success or -1 on failure .. index:: pair: function; rpc_pthread_kill .. _doxid-group__te__lib__rpc__signal_1gac2f9a3cd64e59e006c1d03a3615d115c: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_pthread_kill(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_pthread_t` tid, :ref:`rpc_signum` signum) Send signal with number **signum** to thread whose tid's **tid**. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - tid - Thread ID * - signum - Number of signal to be sent .. rubric:: Returns: 0 on success or -1 on failure .. index:: pair: function; rpc_tgkill .. _doxid-group__te__lib__rpc__signal_1ga6e830bccb27212476de9e8c41eab56da: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_tgkill(:ref:`rcf_rpc_server`* rpcs, tarpc_int tgid, tarpc_int tid, :ref:`rpc_signum` sig) Send signal with number **signum** to thread whose tid is ``tid`` and tgid is ``tgid``. This is linux-specific system call. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - tgid - Thread GID * - tid - Thread ID * - sig - Number of signal to be sent .. rubric:: Returns: 0 on success or -1 on failure .. index:: pair: function; rpc_waitpid .. _doxid-group__te__lib__rpc__signal_1ga2e4e06070cd1441c6822c1cfa5bdd9d4: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`tarpc_pid_t` rpc_waitpid(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_pid_t` pid, :ref:`rpc_wait_status`* status, :ref:`rpc_waitpid_opts` options) Wait for termination of process **pid** or process group whose pid's **pid**. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - pid - Process or process group PID * - status - Status of the process * - options - Options how to wait for process .. rubric:: Returns: PID of the process exited, or zero if none is exited, or -1 on error. .. index:: pair: function; rpc_sigaction_init .. _doxid-group__te__lib__rpc__signal_1gaf6ff9adbd731e7af8259a544eb62db0b: .. ref-code-block:: cpp :class: doxyrest-title-code-block void rpc_sigaction_init(:ref:`rcf_rpc_server`* rpcs, struct :ref:`rpc_struct_sigaction`* sa) Initialise ``:ref:`rpc_struct_sigaction ``` structure. Function jumps to cleanup in case of failure. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - sa - Pointer to a :ref:`rpc_struct_sigaction ` structure to be initialised .. index:: pair: function; rpc_sigaction_release .. _doxid-group__te__lib__rpc__signal_1gacd963b3eabb4c5af9b0c08cf808dbad8: .. ref-code-block:: cpp :class: doxyrest-title-code-block void rpc_sigaction_release(:ref:`rcf_rpc_server`* rpcs, struct :ref:`rpc_struct_sigaction`* sa) Release ``:ref:`rpc_struct_sigaction ``` structure. Function jumps to cleanup in case of failure. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - sa - Pointer to a :ref:`rpc_struct_sigaction ` structure to be released .. index:: pair: function; rpc_sigaction_reinit .. _doxid-group__te__lib__rpc__signal_1ga71cacfaf699d6360195cab2b9c1ace75: .. ref-code-block:: cpp :class: doxyrest-title-code-block static void rpc_sigaction_reinit(:ref:`rcf_rpc_server`* rpcs, struct :ref:`rpc_struct_sigaction`* sa) Relese and initialise ``:ref:`rpc_struct_sigaction ``` structure. The function can be useful for subsequent calls of :ref:`rpc_sigaction() ` wich reuse the same structure in argument ``oldact``. Function jumps to cleanup in case of failure. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - sa - Pointer to a :ref:`rpc_struct_sigaction ` structure to be reinitialised .. index:: pair: function; rpc_sigaction .. _doxid-group__te__lib__rpc__signal_1gaac153338860beeadaf3527820b2c592f: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_sigaction(:ref:`rcf_rpc_server`* rpcs, :ref:`rpc_signum` signum, const struct :ref:`rpc_struct_sigaction`* act, struct :ref:`rpc_struct_sigaction`* oldact) Allow the calling process to examin or specify the action to be associated with a given signal. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - signum - Signal number * - act - Pointer to a :ref:`rpc_struct_sigaction ` structure storing information of action to be associated with the signal or NULL * - oldact - Pointer to previously associated with the signal action or NULL. Note! RPC pointer can be allocated to keep pointer, so ``oldact`` (if not NULL) must be released using function ``:ref:`rpc_sigaction_release() ```. .. rubric:: Returns: 0 on success or -1 on failure .. index:: pair: function; rpc_sigaltstack .. _doxid-group__te__lib__rpc__signal_1gaad640436165ff9e332361ae4831774b8: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_sigaltstack(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_stack_t`* ss, :ref:`tarpc_stack_t`* oss) Set and/or get signal stack context. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - ss - New aternate signal stack or NULL * - oss - Pointer where to save information about current alternate signal stack or NULL .. rubric:: Returns: 0 on success or -1 on failure .. index:: pair: function; rpc_sigset_new .. _doxid-group__te__lib__rpc__signal_1ga17782633061d7ed75c1ff6e04d7f145a: .. ref-code-block:: cpp :class: doxyrest-title-code-block rpc_sigset_p rpc_sigset_new(:ref:`rcf_rpc_server`* rpcs) Allocate new signal set on RPC server side. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle .. rubric:: Returns: Handle of allocated signal set or NULL. .. index:: pair: function; rpc_sigset_delete .. _doxid-group__te__lib__rpc__signal_1gafa7a354b67ed044c5747e43580609d01: .. ref-code-block:: cpp :class: doxyrest-title-code-block void rpc_sigset_delete(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set) Free allocated using :ref:`rpc_sigset_new() ` signal set. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - set - Signal set handler .. index:: pair: function; rpc_sigreceived .. _doxid-group__te__lib__rpc__signal_1ga965c39b7597beddd184026ce84bcaf4f: .. ref-code-block:: cpp :class: doxyrest-title-code-block rpc_sigset_p rpc_sigreceived(:ref:`rcf_rpc_server`* rpcs) Get rpcs of set of signals received by special signal handler 'signal_registrar'. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle .. rubric:: Returns: Handle of the signal set (unique for RPC server, i.e. for each thread). .. index:: pair: function; rpc_siginfo_received .. _doxid-group__te__lib__rpc__signal_1ga24c720a2578454bdad0a6b821c5cccf4: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_siginfo_received(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_siginfo_t`* siginfo) Get sininfo_t structure lastly received by special signal handler 'signal_registrar_siginfo'. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - siginfo - Where to save siginfo_t structure .. rubric:: Returns: 0 or error code .. index:: pair: function; rpc_sigset_cmp .. _doxid-group__te__lib__rpc__signal_1gaecc9e173be8882badc09e7a79004aa55: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_sigset_cmp(:ref:`rcf_rpc_server`* rpcs, const rpc_sigset_p first_set, const rpc_sigset_p second_set) Compare two signal masks. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - first_set - The first signal mask * - second_set - The second signal mask .. rubric:: Returns: -1, 0 or 1 as a result of comparison .. index:: pair: function; rpc_sigprocmask .. _doxid-group__te__lib__rpc__signal_1gaccf6a5f7a9fd1bbd9bd4e6849074a46f: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_sigprocmask(:ref:`rcf_rpc_server`* rpcs, rpc_sighow how, const rpc_sigset_p set, rpc_sigset_p oldset) Examin or change list of currently blocked signal on RPC server side. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - how - indicates the type of change and can take following valye: * RPC_SIG_BLOCK add **set** to currently blocked signal * RPC_SIG_UNBLOCK unblock signal specified on set * RPC_SIG_SETMASK replace the currently blocked set of signal by the one specified by **set** * - set - pointer to a new set of signals * - oldset - pointer to the old set of signals or NUL .. rubric:: Returns: 0 on success or -1 on failure .. index:: pair: function; rpc_sigemptyset .. _doxid-group__te__lib__rpc__signal_1ga6528552eb8df3ca1c6f20e7bd69152e0: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_sigemptyset(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set) Initialize the signal set pointed by **set**, so that all signals are excluded. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - set - pointer to signal set. .. rubric:: Returns: 0 on success or -1 on failure .. index:: pair: function; rpc_sigfillset .. _doxid-group__te__lib__rpc__signal_1gade6b4b5c92c98ba4922ab260672042ef: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_sigfillset(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set) Initialize the signal set pointed by **set**, so that all signals are included. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle. * - set - pointer to signal set. .. rubric:: Returns: 0 on success or -1 on failure .. index:: pair: function; rpc_sigaddset .. _doxid-group__te__lib__rpc__signal_1ga5eeece15efb74ba892cb69621a8ff2a1: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_sigaddset(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set, :ref:`rpc_signum` signum) Add a given **signum** signal to a signal set on RPC server side. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - set - set to which signal is added. * - signum - number of signal to be added. .. rubric:: Returns: 0 on success or -1 on failure .. index:: pair: function; rpc_sigdelset .. _doxid-group__te__lib__rpc__signal_1gaf2c79bd6a1052d271047f07f9130ef6f: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_sigdelset(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set, :ref:`rpc_signum` signum) Delete a given **signum** signal from the signal set on RPC server side. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - set - set from which signal is deleted. * - signum - number of signal to be deleted. .. rubric:: Returns: 0 on success or -1 on failure .. index:: pair: function; rpc_sigismember .. _doxid-group__te__lib__rpc__signal_1ga5d2ff408e6dd038282b7a9ac530ba92a: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_sigismember(:ref:`rcf_rpc_server`* rpcs, const rpc_sigset_p set, :ref:`rpc_signum` signum) Check membership of signal with number **signum**, in the signal set on RPC server side. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - set - signal set * - signum - signal number .. rubric:: Returns: 1 signal is a member of the set 0 signal is not a member of the set -1 on failure .. index:: pair: function; rpc_sigpending .. _doxid-group__te__lib__rpc__signal_1ga8a66b3eb26c21429f4f8aa2779d2a381: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_sigpending(:ref:`rcf_rpc_server`* rpcs, rpc_sigset_p set) Return the set of signal blocked by the signal mask on RPC server side and waiting to be delivered. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - set - pointer to the set of pending signals .. rubric:: Returns: 0 on success or -1 on failure .. index:: pair: function; rpc_sigsuspend .. _doxid-group__te__lib__rpc__signal_1gadaa2ac2fd403a45e28c1683b26eb0026: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_sigsuspend(:ref:`rcf_rpc_server`* rpcs, const rpc_sigset_p set) Replace the current signal mask on RPC server side by the set pointed by **set** and then suspend the process on server side until signal is received. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - set - pointer to new set replacing the current one. .. rubric:: Returns: Always -1 with errno normally set to RPC_EINTR (to be fixed) .. index:: pair: function; rpc_ta_kill_death .. _doxid-group__te__lib__rpc__signal_1gadd903708d95fb1ead8f96dfbd72d17af: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_ta_kill_death(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_pid_t` pid) Kill a child process. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - pid - PID of the child to be killed .. rubric:: Returns: 0 if child was exited or killed successfully or -1 there is no such child. .. rubric:: See also: :ref:`rpc_ta_kill_and_wait ` .. index:: pair: function; rpc_ta_kill_and_wait .. _doxid-group__te__lib__rpc__signal_1gafb3c2db172a62561f31e23e6345463c0: .. ref-code-block:: cpp :class: doxyrest-title-code-block int rpc_ta_kill_and_wait(:ref:`rcf_rpc_server`* rpcs, :ref:`tarpc_pid_t` pid, :ref:`rpc_signum` sig, unsigned int timeout_s) Kill a child process and wait for process to change state .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle * - pid - PID of the child process to be killed * - sig - Signal to be sent to child process * - timeout_s - Time to wait for process to change state * - 0 - Successful result * - -1 - Failed to kill the child process, of ``rpcs`` is ``NULL`` * - -2 - Timed out to wait for changed state of the child process .. rubric:: Returns: Status code .. rubric:: See also: :ref:`rpc_ta_kill_death ` .. index:: pair: function; rpc_signal_registrar_cleanup .. _doxid-group__te__lib__rpc__signal_1gab0ad830672d6f90e3f2bcc3505e46cd1: .. ref-code-block:: cpp :class: doxyrest-title-code-block void rpc_signal_registrar_cleanup(:ref:`rcf_rpc_server`* rpcs) Delete all of the signals from set of signals received by the ``rpcs`` process. .. rubric:: Parameters: .. list-table:: :widths: 20 80 * - rpcs - RPC server handle Macros ------ .. index:: pair: define; DEFINE_RPC_STRUCT_SIGACTION .. _doxid-group__te__lib__rpc__signal_1ga11f1bfa18f02f9ae60797ea635f16a2b: .. ref-code-block:: cpp :class: doxyrest-title-code-block #define DEFINE_RPC_STRUCT_SIGACTION(sa_) Declare initialized :ref:`rpc_struct_sigaction ` structure. .. index:: pair: define; RCF_RPC_MAX_FUNC_NAME .. _doxid-group__te__lib__rpc__signal_1ga5be718ba1e02388b389aacf39d621a8c: .. ref-code-block:: cpp :class: doxyrest-title-code-block #define RCF_RPC_MAX_FUNC_NAME Maximum length of function name .. index:: pair: define; __RPC_STRUCT_SIGACTION_INITIALIZER .. _doxid-group__te__lib__rpc__signal_1gafa99ee8c2293aa7c0044dab4a1e5af8a: .. ref-code-block:: cpp :class: doxyrest-title-code-block #define __RPC_STRUCT_SIGACTION_INITIALIZER Initializer of :ref:`rpc_struct_sigaction ` structure.