~ubuntu-branches/ubuntu/edgy/syslog-ng/edgy

« back to all changes in this revision

Viewing changes to libol-0.3.17/src/queue.h.x

  • Committer: Bazaar Package Importer
  • Author(s): SZALAY Attila
  • Date: 2005-11-27 22:12:57 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20051127221257-yc1y4x3cf6ow1seo
Tags: 1.6.9-1
* New upstream version.
* Changed accepted Console log level to 1-8. (Closes: #318757)
* Fixed misspelled KERNEL_RINGBUF_SIZE. (Closes: #324813)
* Fixed a copy & paste bug in a manpage. (Closes: #312112)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef CLASS_DEFINE
 
2
struct object_queue
 
3
{
 
4
  struct ol_object super;
 
5
  struct ol_queue q;
 
6
};
 
7
extern struct ol_class object_queue_class;
 
8
#endif /* !CLASS_DEFINE */
 
9
 
 
10
#ifndef CLASS_DECLARE
 
11
static void do_object_queue_mark(struct ol_object *o, 
 
12
void (*mark)(struct ol_object *o))
 
13
{
 
14
  struct object_queue *i = (struct object_queue *) o;
 
15
  do_queue_mark(&(i->q), mark);
 
16
}
 
17
 
 
18
static void do_object_queue_free(struct ol_object *o)
 
19
{
 
20
  struct object_queue *i = (struct object_queue *) o;
 
21
  do_queue_free(&(i->q));
 
22
}
 
23
 
 
24
struct ol_class object_queue_class =
 
25
{ STATIC_HEADER,
 
26
  0, "object_queue", sizeof(struct object_queue),
 
27
  do_object_queue_mark,
 
28
  do_object_queue_free
 
29
};
 
30
#endif /* !CLASS_DECLARE */
 
31