#include <stddef.h>
#include "my_compiler.h"
#include "xcom/x_platform.h"
 
Go to the source code of this file.
 | 
| #define  | FWD_ITER(head,  type,  action) | 
|   | 
| #define  | REV_ITER(head,  type,  action) | 
|   | 
| #define  | container_of(ptr,  type,  member)     ((type *)(((char *)(ptr)) - offsetof(type, member))) | 
|   | 
| #define  | NULL_TYPE   0xdefaced | 
|   | 
| #define  | LINK_SANITY_CHECK(x) | 
|   | 
| #define  | TYPE_SANITY_CHECK(x,  y) | 
|   | 
| #define  | link_into(self,  s)   link_precede(self, s) | 
|   | 
| #define  | TYPE_HASH(x)   0 | 
|   | 
◆ container_of
      
        
          | #define container_of | 
          ( | 
            | 
          ptr,  | 
        
        
           | 
           | 
            | 
          type,  | 
        
        
           | 
           | 
            | 
          member  | 
        
        
           | 
          ) | 
           |      ((type *)(((char *)(ptr)) - offsetof(type, member))) | 
        
      
 
 
◆ FWD_ITER
Value:  {                                                       \
      {                                                   \
        type *link_iter = (
type *)
p;                      \
 
        (void)link_iter;                                  \
        action;                                           \
      }  \
      p = _next;                                          \
    }                                                     \
  }
const char * p
Definition: ctype-mb.cc:1227
 
required string type
Definition: replication_group_member_actions.proto:34
 
static linkage * link_first(linkage *self)
Definition: simset.h:102
 
 
 
 
◆ link_into
◆ LINK_SANITY_CHECK
      
        
          | #define LINK_SANITY_CHECK | 
          ( | 
            | 
          x | ) | 
           | 
        
      
 
 
◆ NULL_TYPE
      
        
          | #define NULL_TYPE   0xdefaced | 
        
      
 
 
◆ REV_ITER
Value:  {                                                       \
      {                                                   \
        type *link_iter = (
type *)
p;                      \
 
        (void)link_iter;                                  \
        action;                                           \
      }  \
      p = _next;                                          \
    }                                                     \
  }
static linkage * link_last(linkage *self)
Definition: simset.h:104
 
 
 
 
◆ TYPE_HASH
◆ TYPE_SANITY_CHECK
      
        
          | #define TYPE_SANITY_CHECK | 
          ( | 
            | 
          x,  | 
        
        
           | 
           | 
            | 
          y  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ linkage
◆ cardinal()
  
  
      
        
          | static int cardinal  | 
          ( | 
          linkage *  | 
          self | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ dbg_linkage()
      
        
          | char * dbg_linkage  | 
          ( | 
          linkage *  | 
          self | ) | 
           | 
        
      
 
 
◆ link_empty()
  
  
      
        
          | static int link_empty  | 
          ( | 
          linkage *  | 
          self | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
 
◆ link_extract_first()
◆ link_extract_last()
◆ link_first()
◆ link_follow()
◆ link_init()
◆ link_last()
◆ link_out()
◆ link_precede()