$search

sigblock.c File Reference

#include <Python.h>
#include <signal.h>
Include dependency graph for sigblock.c:

Go to the source code of this file.

Defines

#define PyMODINIT_FUNC   void

Functions

static PyObject * block_signal (PyObject *self, PyObject *args)
PyMODINIT_FUNC initsigblock (void)
static PyObject * restore_mask (PyObject *self, PyObject *args)
static PyObject * save_mask (PyObject *self, PyObject *args)

Variables

static PyMethodDef module_methods []
static PyObject * SigblockError
static sigset_t the_mask
static int the_mask_is_set

Define Documentation

#define PyMODINIT_FUNC   void

Definition at line 108 of file sigblock.c.


Function Documentation

static PyObject* block_signal ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 72 of file sigblock.c.

PyMODINIT_FUNC initsigblock ( void   ) 

Definition at line 111 of file sigblock.c.

static PyObject* restore_mask ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 48 of file sigblock.c.

static PyObject* save_mask ( PyObject *  self,
PyObject *  args 
) [static]

Definition at line 29 of file sigblock.c.


Variable Documentation

PyMethodDef module_methods[] [static]
Initial value:
 
{
    {"save_mask", save_mask, METH_VARARGS,
     "Saves the current signal mask internally."},
    {"restore_mask", restore_mask, METH_VARARGS,
     "Sets the current signal mask to match that of the last call to save_mask."},
    {"block_signal", block_signal, METH_VARARGS,
     "Remove specified signal from the signal mask."},
    {NULL, NULL, 0, NULL}  
}

Definition at line 95 of file sigblock.c.

PyObject* SigblockError [static]

Definition at line 23 of file sigblock.c.

sigset_t the_mask [static]

Definition at line 26 of file sigblock.c.

int the_mask_is_set [static]

Definition at line 25 of file sigblock.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


multi_interface_roam
Author(s): Blaise Gassend
autogenerated on Fri Mar 1 16:01:30 2013