~jackweirdy/vidalia/680192

« back to all changes in this revision

Viewing changes to src/miniupnpc/bsdqueue.h

  • Committer: Package Import Robot
  • Author(s): Ulises Vitulli, intrigeri, Ulises Vitulli
  • Date: 2012-06-22 07:18:44 UTC
  • mfrom: (1.4.8) (8.2.13 sid)
  • Revision ID: package-import@ubuntu.com-20120622071844-s278v0p646pqt949
Tags: 0.2.19-1
[ intrigeri ]
* Imported Upstream version 0.2.19
* Install AppArmor profile.
* Enable hardening flags.

[ Ulises Vitulli ]
* Added runtime dependency on apparmor.
* Updated d/NEWS and d/README.Debian to reflect new features.
* Move dirs from d/rules to d/vidalia.dir.
* Updated Standard-version to 3.9.3 (no changes needed).

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#define _SYS_QUEUE_H_
37
37
 
38
38
/*
39
 
 * This file defines five types of data structures: singly-linked lists, 
 
39
 * This file defines five types of data structures: singly-linked lists,
40
40
 * lists, simple queues, tail queues, and circular queues.
41
41
 *
42
42
 *
95
95
struct name {                                                           \
96
96
        struct type *slh_first; /* first element */                     \
97
97
}
98
 
 
 
98
 
99
99
#define SLIST_HEAD_INITIALIZER(head)                                    \
100
100
        { NULL }
101
101
 
107
107
struct {                                                                \
108
108
        struct type *sle_next;  /* next element */                      \
109
109
}
110
 
 
 
110
 
111
111
/*
112
112
 * Singly-linked List access methods.
113
113
 */
322
322
        struct type **tqe_prev; /* address of previous next element */  \
323
323
}
324
324
 
325
 
/* 
326
 
 * tail queue access methods 
 
325
/*
 
326
 * tail queue access methods
327
327
 */
328
328
#define TAILQ_FIRST(head)               ((head)->tqh_first)
329
329
#define TAILQ_END(head)                 NULL
430
430
}
431
431
 
432
432
/*
433
 
 * Circular queue access methods 
 
433
 * Circular queue access methods
434
434
 */
435
435
#define CIRCLEQ_FIRST(head)             ((head)->cqh_first)
436
436
#define CIRCLEQ_LAST(head)              ((head)->cqh_last)