#include <../../nrnconf.h>
#include "hoclist.h"
#include "hocdec.h"
#include "parse.h"
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 Free free |
Referenced by delete(), freelist(), and stralloc().
#define HOC_L_LIST 1 |
delitems | ( | Item * | q1, | |
Item * | q2 | |||
) |
References Item.
Item* insertitem | ( | Item * | item, | |
Item * | itm | |||
) |
Referenced by lappenditem().
Item* insertlist | ( | Item * | item, | |
List * | lst | |||
) |
Referenced by lappendlst().
Item* insertobj | ( | Item * | item, | |
struct Object * | obj | |||
) |
Referenced by lappendobj().
Item* insertsec | ( | Item * | item, | |
struct Section * | sec | |||
) |
Referenced by lappendsec(), and new_sections().
Item* insertstr | ( | Item * | item, | |
char * | str | |||
) |
References i, Item, stralloc(), and STRING.
Referenced by lappendstr(), and linsertstr().
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 | |||
) |
Item* lappendlst | ( | List * | list, | |
List * | lst | |||
) |
Item* lappendobj | ( | List * | list, | |
struct Object* | obj | |||
) |
Item* lappendsec | ( | List * | list, | |
struct Section* | sec | |||
) |
Item* lappendstr | ( | List * | list, | |
char * | str | |||
) |
Item* lappendsym | ( | List * | list, | |
Symbol * | sym | |||
) |
Item* lappendvoid | ( | List * | list, | |
void* | obj | |||
) |
Item* linsertstr | ( | List * | list, | |
char * | str | |||
) |
Item* linsertsym | ( | List * | list, | |
Symbol * | sym | |||
) |
move | ( | Item * | q1, | |
Item * | q2, | |||
Item * | q3 | |||
) |
References assert.
Referenced by movelist(), and KSChan::settype().
movelist | ( | Item * | q1, | |
Item * | q2, | |||
List * | s | |||
) |
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 | |||
) |
char* stralloc | ( | char * | buf, | |
char* | rel | |||
) |
References emalloc, Free, s, and Strcpy.
Referenced by insertstr(), and replacstr().