list.c File Reference

#include <../../nrnconf.h>
#include "hoclist.h"
#include "hocdec.h"
#include "parse.h"
Include dependency graph for list.c:

Defines

#define HOC_L_LIST   1
#define Free   free

Functions

List * newlist ()
 freelist (List **plist)
Item * next (Item *item)
Item * prev (Item *item)
Item * insertstr (Item *item, char *str)
Item * insertitem (Item *item, Item *itm)
Item * insertlist (Item *item, List *lst)
Item * insertsym (Item *item, Symbol *sym)
Item * insertsec (Item *item, struct Section *sec)
Item * insertobj (Item *item, struct Object *obj)
Item * insertvoid (Item *item, void *obj)
Item * linsertstr (List *list, char *str)
Item * lappendstr (List *list, char *str)
Item * linsertsym (List *list, Symbol *sym)
Item * lappendsym (List *list, Symbol *sym)
Item * lappenditem (List *list, Item *item)
Item * lappendlst (List *list, List *lst)
Item * lappendsec (List *list, struct Section *sec)
Item * lappendobj (List *list, struct Object *obj)
Item * lappendvoid (List *list, void *obj)
 delete (Item *item)
char * stralloc (char *buf, char *rel)
 delitems (Item *q1, Item *q2)
 move (Item *q1, Item *q2, Item *q3)
 movelist (Item *q1, Item *q2, List *s)
 replacstr (Item *q, char *s)

Define Documentation

#define Free   free

Referenced by delete(), freelist(), and stralloc().

#define HOC_L_LIST   1

Function Documentation

delete ( Item *  item  ) 

References assert, and Free.

delitems ( Item *  q1,
Item *  q2 
)

References Item.

freelist ( List **  plist  ) 

References Free, i1, i2, Item, and List.

Item* insertitem ( Item *  item,
Item *  itm 
)

References i, ITEM, and Item.

Referenced by lappenditem().

Item* insertlist ( Item *  item,
List *  lst 
)

References i, Item, and LIST.

Referenced by lappendlst().

Item* insertobj ( Item *  item,
struct Object *  obj 
)

References i, and Item.

Referenced by lappendobj().

Item* insertsec ( Item *  item,
struct Section sec 
)

References i, and Item.

Referenced by lappendsec(), and new_sections().

Item* insertstr ( Item *  item,
char *  str 
)

References i, Item, stralloc(), and STRING.

Referenced by lappendstr(), and linsertstr().

Here is the call graph for this function:

Item* insertsym ( Item *  item,
Symbol sym 
)

References i, Item, and SYMBOL.

Referenced by lappendsym(), and linsertsym().

Item* insertvoid ( Item *  item,
void obj 
)

References i, Item, and VOIDPOINTER.

Referenced by lappendvoid().

Item* lappenditem ( List *  list,
Item *  item 
)

References insertitem().

Here is the call graph for this function:

Item* lappendlst ( List *  list,
List *  lst 
)

References insertlist().

Here is the call graph for this function:

Item* lappendobj ( List *  list,
struct Object*  obj 
)

References insertobj().

Here is the call graph for this function:

Item* lappendsec ( List *  list,
struct Section sec 
)

References insertsec().

Referenced by new_sections().

Here is the call graph for this function:

Item* lappendstr ( List *  list,
char *  str 
)

References insertstr().

Here is the call graph for this function:

Item* lappendsym ( List *  list,
Symbol sym 
)

References insertsym().

Here is the call graph for this function:

Item* lappendvoid ( List *  list,
void obj 
)

References insertvoid().

Here is the call graph for this function:

Item* linsertstr ( List *  list,
char *  str 
)

References insertstr().

Here is the call graph for this function:

Item* linsertsym ( List *  list,
Symbol sym 
)

References insertsym().

Here is the call graph for this function:

move ( Item *  q1,
Item *  q2,
Item *  q3 
)

References assert.

Referenced by movelist(), and KSChan::settype().

movelist ( Item *  q1,
Item *  q2,
List *  s 
)

References move().

Here is the call graph for this function:

List* newlist (  ) 

References i, Item, and List.

Item* next ( Item *  item  ) 

References assert.

Referenced by HTList::~HTList(), and MessageValue::~MessageValue().

Item* prev ( Item *  item  ) 

References assert.

Referenced by hoc_mcran4init(), hoc_stdout(), and hoc_usemcran4().

replacstr ( Item *  q,
char *  s 
)

References stralloc(), and STRING.

Here is the call graph for this function:

char* stralloc ( char *  buf,
char*  rel 
)

References emalloc, Free, s, and Strcpy.

Referenced by insertstr(), and replacstr().

Generated on Mon Jun 13 08:10:30 2011 for NEURON by  doxygen 1.6.3