File: stack.h

package info (click to toggle)
libnetfilter-conntrack 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,900 kB
  • sloc: sh: 14,869; ansic: 12,517; makefile: 188
file content (11 lines) | stat: -rw-r--r-- 247 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _STACK_H_
#define _STACK_H_

struct stack;

struct stack *stack_create(size_t elem_size, int max_elems);
void stack_destroy(struct stack *s);
int stack_push(struct stack *s, void *data);
int stack_pop(struct stack *s, void *data);

#endif