Logo Search packages:      
Sourcecode: nbtscan version File versions  Download package

list.h

#define ERROR 12345

struct list_item {
      struct list_item* next;
      struct list_item* prev;
      unsigned long content;
};

struct list {
      struct list_item* head;
};

struct list* new_list(); 

struct list_item* new_list_item(unsigned long content);

void delete_list(struct list* list);
      
int compare(struct list_item* item1, struct list_item* item2);

int insert(struct list* lst, unsigned long content);

Generated by  Doxygen 1.6.0   Back to index