#include #include #include typedef struct litem_t { /* ... */ } litem; typedef struct llist_t { struct litem_t *item; struct llist_t *next; } llist; llist *addItem(llist * alist, char *orderno, char *name, float price, int count, float sum) { /*...*/ return alist; } void dumpList(llist * alist) { /* ... */ } #define BUFSIZE 1024 char* getstrdelim(char delim, FILE *pFile){ char* buf = calloc(BUFSIZE,sizeof(char)); size_t pos=0; while (pos