rpm 4.10.0

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

rpmsq.h
Go to the documentation of this file.

    00001 #ifndef H_RPMSQ
    00002 #define H_RPMSQ
    00003
    00008 #include <rpm/rpmsw.h>
    00009 #include <signal.h>
    00010
    00011 #ifdef __cplusplus
    00012 extern "C" {
    00013 #endif
    00014
    00021 #ifdef SA_SIGINFO
    00022 typedef void (*rpmsqAction_t) (int signum, siginfo_t * info, void * context);
    00023 #else
    00024 typedef void (*rpmsqAction_t) (int signum);
    00025 #endif
    00026
    00033 int rpmsqIsCaught(int signum);
    00034
    00041 #ifdef SA_SIGINFO
    00042 void rpmsqAction(int signum, siginfo_t * info, void * context);
    00043 #else
    00044 void rpmsqAction(int signum);
    00045 #endif
    00046
    00053 int rpmsqEnable(int signum, rpmsqAction_t handler);
    00054
    00055 #ifdef __cplusplus
    00056 }
    00057 #endif
    00058
    00059 #endif  /* H_RPMSQ */