~ubuntu-branches/debian/sid/rlinetd/sid

« back to all changes in this revision

Viewing changes to rlinetd.h

  • Committer: Bazaar Package Importer
  • Author(s): Robert Luberda
  • Date: 2010-03-20 18:03:45 UTC
  • mfrom: (2.3.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100320180345-x1srfbe2tg00ezsf
Tags: 0.7-1
* New upstream version.
* Recommend rsyslog instead of sysklogd (closes: #526922).
* update-inetd:
  + add support for enabling, disabling and removing entries;
  + use ucf for managing generated files;
  + ignore ucf files in rlinetd.conf;
  + make appropriate changes in  postinst and postrm scripts.
* Set debhelper compat level to 7
* Standards-Version: 3.8.4 (no changes). 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef H_RLINETD
2
 
#define H_RLINETD
3
 
 
4
 
#include <signal.h>
5
 
#include <syslog.h>
6
 
#include <sys/time.h>
7
 
#include <sys/types.h>
8
 
#include <sys/resource.h>
9
 
#include <unistd.h>
10
 
#include <netinet/in.h>
11
 
 
12
 
#include "buffer.h"
13
 
#include "bytecode.h"
14
 
#include "stack.h"
15
 
#include "config.h"
16
 
 
17
 
struct rl_cleanup {
18
 
        int type;
19
 
        void *data;
20
 
        struct rl_cleanup *next;
21
 
};
22
 
 
23
 
struct rl_instance {
24
 
        struct sockaddr *sin;
25
 
        socklen_t sinlen;
26
 
        struct rusage rusage;
27
 
        int status;
28
 
        time_t start;
29
 
        volatile time_t stop;
30
 
        int sock;
31
 
        struct rl_buffer *buf;
32
 
        struct rl_stack stk;
33
 
};
34
 
 
35
 
extern int rl_debug;
36
 
 
37
 
void run_bytecode(rl_opcode_t *, struct rl_instance *);
38
 
 
39
 
extern struct rl_cleanup *rl_cleanups;
40
 
 
41
 
void read_hook(int, rl_opcode_t *, struct rl_instance *);
42
 
void read_unhook(int);
43
 
void write_hook(int, rl_opcode_t *, struct rl_instance *);
44
 
void write_unhook(int);
45
 
void all_unhook();
46
 
 
47
 
void listeners_clear(int);
48
 
void listeners_set(int);
49
 
 
50
 
void inst_free(struct rl_instance *);
51
 
 
52
 
#endif /* !H_RLINETD */
53
 
 
54
 
/* vim: set ts=2: */