File: list.h

package info (click to toggle)
fileschanged 0.6.5-2
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 1,348 kB
  • ctags: 159
  • sloc: sh: 4,137; ansic: 1,407; makefile: 87; sed: 16
file content (18 lines) | stat: -rw-r--r-- 560 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef FILESCHANGED_LIST_H
#define FILESCHANGED_LIST_H
#include "node.h"
struct list_t
{
	unsigned int count;
	struct node_t *list;
};
int list_init(void **list);
int list_add(void *list, struct node_t *node);
int list_get_element(void *list, unsigned int element, struct node_t **node);
int list_find(void *list, struct node_t *node, struct node_t **found);
void list_count(void *list, unsigned int *count);
void list_show(void *list);
void list_sort(void *list);
void list_free(void *list);
int list_remove_element(void *list, unsigned int element);
#endif