mem.c
dream/mem.c · 301 B
From the archive mysqldream.tar.gz
Download the archive « Back to the archive contents
+ DREAM_DATA *new_dream(void)
+ {
+ DREAM_DATA *NewDream;
+ int i;
+
+ NewDream = alloc_perm(sizeof(*NewDream));
+
+ NewDream->title = str_dup("");
+ for(i=0;i<10;i++)
+ NewDream->line[i] = str_dup("");
+ NewDream->author = str_dup("");
+ return NewDream;
+ }
+