Commit 7082c64a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Cleanup.

parent 73c53211
/*
* The time has come to get some order into this mess.
*
* From now on the following terminology is used:
*
* alloc_ smalloc() the object. Increase _cnt.
* free_ sfree() the object. Decrease _cnt.
* clear_ free_() any objects contained in the object,
* but not the object itself.
* copy_ smalloc() a new object and also smalloc()
* any objects contained in it.
*/
extern Text_list *
alloc_text_list(void);
extern Mark_list *
alloc_mark_list(void);
extern Membership_list *
alloc_membership_list(void);
extern Membership *
alloc_membership(void);
extern Person *
alloc_person(void);
extern Member_list *
alloc_member_list(void);
extern Conference *
alloc_conference(void);
extern Text_stat *
alloc_text_stat(void);
extern void
free_text_list(Text_list *text_list);
extern void
free_mark_list(Mark_list *mark_list);
extern void
free_membership_list(Membership_list *mlist);
extern void
free_membership(Membership *mship);
extern void
free_person(Person *person);
extern void
free_member_list(Member_list *m);
extern void
free_conference(Conference *confp);
......@@ -56,7 +40,6 @@ copy_conf(Conference *c);
extern Text_stat *
copy_text_stat(Text_stat *c);
extern void
clear_conference(Conference *c);
......@@ -66,18 +49,6 @@ clear_person(Person *p);
extern void
clear_text_stat(Text_stat *t);
extern Text_list
copy_text_list(Text_list tl);
extern Mark_list
copy_mark_list(Mark_list ml);
extern Membership_list
copy_membership_list(Membership_list ml);
extern Member_list
copy_member_list(Member_list ml);
#ifdef FILE
extern void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment