Ignore:
Timestamp:
Oct 29, 2007, 1:09:10 AM (17 years ago)
Author:
rainer
Message:

Utility function for threaded modules.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/sh_modules.h

    r68 r140  
    33#define SH_MODULE_H
    44
     5#include "sh_pthread.h"
    56
    67typedef struct rconf
     
    1920
    2021  /* The initialization function. Return 0 on success.         */
    21   int (* mod_init)    (void); 
     22  int (* mod_init)    (struct mod_type * arg); 
    2223                             
    2324  /* The timer function. Return 0 if NOT time to check.        */
     
    3940  sh_rconf * conf_table;
    4041
     42  SH_MUTEX(mod_mutex);
     43
    4144} sh_mtype;
    4245
Note: See TracChangeset for help on using the changeset viewer.