view src/lib/alarm-hup.h @ 896:21ffcce83c70 HEAD

Rewrote rfc822-tokenize.c to work one token at a time so it won't uselessly take memory, maybe also a bit faster. This caused pretty large changes all around. Also moved all string (un)escaping code to lib/strescape.c.
author Timo Sirainen <tss@iki.fi>
date Fri, 03 Jan 2003 17:57:12 +0200
parents 3b53dd1280c6
children
line wrap: on
line source

#ifndef __ALARM_HUP_H
#define __ALARM_HUP_H

/* Set new alarm() interval. Returns the old one. alarm() is called
   immediately with the specified timeout. */
unsigned int alarm_hup_set_interval(unsigned int timeout);

/* init() may be called multiple times. */
void alarm_hup_init(void);
void alarm_hup_deinit(void);

#endif