/usr/include/zorp/poll.h is in libzorpll-6.0-10-dev 6.0.10.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | /***************************************************************************
*
* This file is covered by a dual licence. You can choose whether you
* want to use it according to the terms of the GNU GPL version 2, or
* under the terms of Zorp Professional Firewall System EULA located
* on the Zorp installation CD.
*
***************************************************************************/
#ifndef ZORP_POLL_H_INCLUDED
#define ZORP_POLL_H_INCLUDED
#include <zorp/zorplib.h>
#include <zorp/stream.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* ZPoll interface encapsulates a poll() loop.
**/
typedef struct _ZPoll ZPoll;
ZPoll *z_poll_new(void);
void z_poll_ref(ZPoll *);
void z_poll_unref(ZPoll *);
void z_poll_wakeup(ZPoll *s);
void z_poll_add_stream(ZPoll *s, struct _ZStream *channel);
void z_poll_remove_stream(ZPoll *s, ZStream *stream);
#define z_poll_iter(s) z_poll_iter_timeout(s, -1)
guint z_poll_iter_timeout(ZPoll *s, gint timeout);
gboolean z_poll_is_running(ZPoll *s);
void z_poll_quit(ZPoll *s);
GMainContext *z_poll_get_context(ZPoll *s);
#ifdef __cplusplus
}
#endif
#endif
|