Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
strlist.c File Reference
#include "strlist.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.


int strlist__add (struct strlist *self, const char *new_entry)
int strlist__load (struct strlist *self, const char *filename)
void strlist__remove (struct strlist *slist, struct str_node *snode)
struct str_nodestrlist__find (struct strlist *slist, const char *entry)
int strlist__parse_list (struct strlist *self, const char *s)
struct strliststrlist__new (bool dupstr, const char *slist)
void strlist__delete (struct strlist *self)
struct str_nodestrlist__entry (const struct strlist *slist, unsigned int idx)

Function Documentation

int strlist__add ( struct strlist self,
const char new_entry 

Definition at line 62 of file strlist.c.

void strlist__delete ( struct strlist self)

Definition at line 156 of file strlist.c.

struct str_node* strlist__entry ( const struct strlist slist,
unsigned int  idx 

Definition at line 162 of file strlist.c.

struct str_node* strlist__find ( struct strlist slist,
const char entry 

Definition at line 99 of file strlist.c.

int strlist__load ( struct strlist self,
const char filename 

Definition at line 67 of file strlist.c.

struct strlist* strlist__new ( bool  dupstr,
const char slist 

Definition at line 135 of file strlist.c.

int strlist__parse_list ( struct strlist self,
const char s 

Definition at line 118 of file strlist.c.

void strlist__remove ( struct strlist slist,
struct str_node snode 

Definition at line 94 of file strlist.c.