Searched refs:ppmtx (Results 1 – 1 of 1) sorted by relevance
4762 static int gcry_w32_mutex_init (void **ppmtx) in gcry_w32_mutex_init() argument4764 *ppmtx = malloc (sizeof (MHD_mutex_)); in gcry_w32_mutex_init()4766 if (NULL == *ppmtx) in gcry_w32_mutex_init()4769 if (MHD_YES != MHD_mutex_create_ ((MHD_mutex_*)*ppmtx)) in gcry_w32_mutex_init()4771 free (*ppmtx); in gcry_w32_mutex_init()4772 *ppmtx = NULL; in gcry_w32_mutex_init()4778 static int gcry_w32_mutex_destroy (void **ppmtx) in gcry_w32_mutex_destroy() argument4779 { int res = (MHD_YES == MHD_mutex_destroy_ ((MHD_mutex_*)*ppmtx)) ? 0 : 1; in gcry_w32_mutex_destroy()4780 free (*ppmtx); return res; } in gcry_w32_mutex_destroy()4781 static int gcry_w32_mutex_lock (void **ppmtx) in gcry_w32_mutex_lock() argument[all …]