main
1struct node; 2 3void loginit(const char *); 4void logclose(void); 5void logrecord(struct node *);