]> git.sur5r.net Git - openldap/blobdiff - include/ldap_queue.h
subtreeSpecification syntax change : -binary +validator
[openldap] / include / ldap_queue.h
index 78852f427aa275a9c93f925193c9e7b9161e7583..2135702a652bc058026cad818b29852fe9354050 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2001-2002 The OpenLDAP Foundation, Redwood City, California, USA
+ * Copyright 2001-2003 The OpenLDAP Foundation, Redwood City, California, USA
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -135,6 +135,9 @@ struct {                                                            \
        struct type *sle_next;  /* next element */                      \
 }
 
+#define LDAP_SLIST_ENTRY_INITIALIZER(entry)                            \
+       { NULL }
+
 /*
  * Singly-linked List functions.
  */
@@ -195,6 +198,9 @@ struct {                                                            \
        struct type *stqe_next; /* next element */                      \
 }
 
+#define LDAP_STAILQ_ENTRY_INITIALIZER(entry)                           \
+       { NULL }
+
 /*
  * Singly-linked Tail queue functions.
  */
@@ -278,6 +284,9 @@ struct {                                                            \
        struct type **le_prev;  /* address of previous next element */  \
 }
 
+#define LDAP_LIST_ENTRY_INITIALIZER(entry)                     \
+       { NULL, NULL }
+
 /*
  * List functions.
  */
@@ -342,6 +351,9 @@ struct {                                                            \
        struct type **tqe_prev; /* address of previous next element */  \
 }
 
+#define LDAP_TAILQ_ENTRY_INITIALIZER(entry)                            \
+       { NULL, NULL }
+
 /*
  * Tail queue functions.
  */