snoop_handler
volatile struct snoop_handler *hp;
static struct snoop_handler *snoop_hp; /* global alarm handler head */
static struct snoop_handler *snoop_tp; /* global alarm handler tail */
volatile struct snoop_handler *sh = NULL;
volatile struct snoop_handler *hp, *tp, *next;
sh = malloc(sizeof (struct snoop_handler));
snoop_hp = snoop_tp = (struct snoop_handler *)sh;
snoop_tp->s_next = (struct snoop_handler *)sh;
snoop_tp = (struct snoop_handler *)sh;
tp = (struct snoop_handler *)&snoop_hp;
if (tp == (struct snoop_handler *)&snoop_hp)
snoop_tp = (struct snoop_handler *)tp;
struct snoop_handler *s_next; /* next alarm handler */