gwenhywfar
5.7.4
gwenhywfar5
gwenhywfar
threadlocaldata.h
Go to the documentation of this file.
1
/***************************************************************************
2
begin : Thu Feb 04 2021
3
copyright : (C) 2021 by Martin Preuss
4
email : martin@libchipcard.de
5
6
***************************************************************************
7
* *
8
* This library is free software; you can redistribute it and/or *
9
* modify it under the terms of the GNU Lesser General Public *
10
* License as published by the Free Software Foundation; either *
11
* version 2.1 of the License, or (at your option) any later version. *
12
* *
13
* This library is distributed in the hope that it will be useful, *
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
16
* Lesser General Public License for more details. *
17
* *
18
* You should have received a copy of the GNU Lesser General Public *
19
* License along with this library; if not, write to the Free Software *
20
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
21
* MA 02111-1307 USA *
22
* *
23
***************************************************************************/
24
25
26
#ifndef GWEN_THREADLOCALDATA_H
27
#define GWEN_THREADLOCALDATA_H
28
29
30
#include <
gwenhywfar/gwenhywfarapi.h
>
31
32
33
#ifdef __cplusplus
34
extern
"C"
{
35
#endif
36
37
38
typedef
struct
GWEN_THREADLOCAL_DATA
GWEN_THREADLOCAL_DATA
;
39
40
41
42
GWENHYWFAR_API
GWEN_THREADLOCAL_DATA
*
GWEN_ThreadLocalData_new
();
43
44
GWENHYWFAR_API
void
GWEN_ThreadLocalData_free
(
GWEN_THREADLOCAL_DATA
*threadLocalData);
45
46
GWENHYWFAR_API
int
GWEN_ThreadLocalData_SetData
(
GWEN_THREADLOCAL_DATA
*threadLocalData,
void
*pointer);
47
GWENHYWFAR_API
void
*
GWEN_ThreadLocalData_GetData
(
const
GWEN_THREADLOCAL_DATA
*threadLocalData);
48
49
50
#ifdef __cplusplus
51
}
52
#endif
53
54
55
56
#endif
57
GWEN_THREADLOCAL_DATA
struct GWEN_THREADLOCAL_DATA GWEN_THREADLOCAL_DATA
Definition:
threadlocaldata.h:38
GWEN_ThreadLocalData_SetData
GWENHYWFAR_API int GWEN_ThreadLocalData_SetData(GWEN_THREADLOCAL_DATA *threadLocalData, void *pointer)
GWEN_ThreadLocalData_free
GWENHYWFAR_API void GWEN_ThreadLocalData_free(GWEN_THREADLOCAL_DATA *threadLocalData)
GWEN_ThreadLocalData_GetData
GWENHYWFAR_API void * GWEN_ThreadLocalData_GetData(const GWEN_THREADLOCAL_DATA *threadLocalData)
GWEN_ThreadLocalData_new
GWENHYWFAR_API GWEN_THREADLOCAL_DATA * GWEN_ThreadLocalData_new()
gwenhywfarapi.h
GWENHYWFAR_API
#define GWENHYWFAR_API
Definition:
gwenhywfarapi.h:67
Generated by
1.8.17