organize module
authorPierre Habouzit <madcoder@debian.org>
Sun, 13 Jan 2008 13:48:05 +0000 (14:48 +0100)
committerPierre Habouzit <madcoder@debian.org>
Sun, 13 Jan 2008 13:48:05 +0000 (14:48 +0100)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
lib-mx/pop-new.c

index c5130a0..3936cbb 100644 (file)
@@ -32,6 +32,10 @@ DO_REFCNT(pop_data_t, pop_data);
 DO_ARRAY_TYPE(pop_data_t, pop_data);
 DO_ARRAY_FUNCS(pop_data_t, pop_data, pop_data_delete);
 
+/****************************************************************************/
+/* module                                                                   */
+/****************************************************************************/
+
 static pop_data_array conns;
 
 static __init void pop_initialize(void)
@@ -43,6 +47,10 @@ static __fini void pop_shutdown(void)
     pop_data_array_wipe(&conns);
 }
 
+/****************************************************************************/
+/* pop3 machine                                                             */
+/****************************************************************************/
+
 static int pop_setup(job_t *w, void *cfg)
 {
     return 0;
@@ -58,6 +66,10 @@ static machine_t const pop_machine = {
     .finalize = &pop_finalize,
 };
 
+/****************************************************************************/
+/* pop3 mx driver                                                           */
+/****************************************************************************/
+
 mx_t const pop_mx_ng = {
     M_POP,
     0,