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

« back to all changes in this revision

Viewing changes to assemble.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_ASSEMBLE
2
 
#define H_ASSEMBLE
3
 
 
4
 
#include "rlinetd.h"
5
 
 
6
 
struct array {
7
 
#ifdef MEMDEBUG
8
 
        char *id;
9
 
#endif  
10
 
        rl_opcode_t *elems;
11
 
        int len;
12
 
};
13
 
 
14
 
struct optab {
15
 
        rl_opcode_t opcode;
16
 
        int nargs;
17
 
        struct array *after;
18
 
};
19
 
 
20
 
struct opmeta {
21
 
#ifdef MEMDEBUG
22
 
        char *id;
23
 
#endif  
24
 
        int len;
25
 
        rl_opcode_t *bytes;
26
 
        struct array *after;
27
 
        struct array *ops;
28
 
        rl_opcode_t **fixup;
29
 
};
30
 
 
31
 
struct opmetalist {
32
 
#ifdef MEMDEBUG
33
 
        char *id;
34
 
#endif  
35
 
        int len;
36
 
        struct opmeta **opms;
37
 
};
38
 
 
39
 
struct opmeta *opmeta_make(int, rl_opcode_t, ...);
40
 
int opmetalist_add(struct opmetalist *, struct opmeta *);
41
 
struct opmetalist *opmetalist_join(struct opmetalist *, struct opmetalist *);
42
 
void opmeta_fixup(struct opmeta *, int, rl_opcode_t *);
43
 
struct opmetalist *opmetalist_new();
44
 
struct oplist *opmetalist_resolve(struct opmetalist *);
45
 
void opmetalist_free(struct opmetalist *);
46
 
 
47
 
#endif /* !H_ASSEMBLE */
48
 
 
49
 
/* vim: set ts=2: */