extern void init_uid(void);
extern char *generate_uid(void);
+void allocate_away(struct Client *);\r
+void free_away(struct Client *);
+
#endif /* INCLUDED_client_h */
}
}
+void\r
+allocate_away(struct Client *client_p)\r
+{\r
+ if(client_p->user->away == NULL)\r
+ client_p->user->away = rb_bh_alloc(away_heap); \r
+}\r
+\r
+\r
+void\r
+free_away(struct Client *client_p)\r
+{\r
+ if(client_p->user->away != NULL) {\r
+ rb_bh_free(away_heap, client_p->user->away);\r
+ client_p->user->away = NULL;\r
+ }\r
+}
+
void
init_uid(void)
{