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

« back to all changes in this revision

Viewing changes to src/stack.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_STACK
 
2
#define H_STACK
 
3
 
 
4
#define STACKSIZE 8
 
5
 
 
6
struct rl_stack {
 
7
        rl_opcode_t data[STACKSIZE];
 
8
        int top;
 
9
};
 
10
 
 
11
void rlstk_push(struct rl_stack *, rl_opcode_t);
 
12
rl_opcode_t rlstk_pop(struct rl_stack *);
 
13
rl_opcode_t rlstk_peek(struct rl_stack *, int);
 
14
void rlstk_poke(struct rl_stack *, int, rl_opcode_t);
 
15
struct rl_stack *rlstk_new();
 
16
void rlstk_free(struct rl_stack *);
 
17
 
 
18
#endif /* !H_STACK */
 
19
 
 
20
/* vim: set ts=2: */