/usr/include/zorp/headerset.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 50 51 52 | /***************************************************************************
*
* 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_HEADERSET_H
#define ZORP_HEADERSET_H
#include <glib.h>
#ifdef __cplusplus
extern "C" {
#endif
typedef struct _ZHeader
{
GString *key;
GString *value;
} ZHeader;
typedef struct _ZHeaderSet
{
gint headers_count;
GHashTable *headers;
} ZHeaderSet;
GList *z_header_set_get_all_headers(ZHeaderSet *self);
ZHeader *z_header_set_iterate(ZHeaderSet *self, const gchar *key, gpointer *opaque);
gboolean z_header_set_add(ZHeaderSet *self, GString *key, GString *value, gboolean multiple);
void z_header_set_init(ZHeaderSet *self);
void z_header_set_destroy(ZHeaderSet *self);
static inline ZHeader *
z_header_set_find(ZHeaderSet *self, gchar *key)
{
return z_header_set_iterate(self, key, NULL);
}
static inline gint
z_header_set_get_count(ZHeaderSet *self)
{
return self->headers_count;
}
#ifdef __cplusplus
}
#endif
#endif
|