extern int init_wrapper (void); extern int init_wrapper_thread (int required, int* provided);