File: vqueue.h

package info (click to toggle)
gobject-introspection 1.86.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 72,464 kB
  • sloc: ansic: 562,805; python: 23,750; xml: 16,240; perl: 1,878; yacc: 1,720; sh: 1,139; lex: 513; cpp: 487; makefile: 197; javascript: 15; lisp: 1
file content (18 lines) | stat: -rw-r--r-- 373 bytes parent folder | download | duplicates (26)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef __CMPH_VQUEUE_H__
#define __CMPH_VQUEUE_H__

#include "cmph_types.h"
typedef struct __vqueue_t vqueue_t;

vqueue_t * vqueue_new(cmph_uint32 capacity);

cmph_uint8 vqueue_is_empty(vqueue_t * q);

void vqueue_insert(vqueue_t * q, cmph_uint32 val);

cmph_uint32 vqueue_remove(vqueue_t * q);

void vqueue_print(vqueue_t * q);

void vqueue_destroy(vqueue_t * q);
#endif