16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
*/
#include "config.h"
#import "tlskey.h"
#ifdef OF_AMIGAOS
# ifdef OF_AMIGAOS4
# define __USE_INLINE__
# define __NOLIBBASE__
# define __NOGLOBALIFACE__
# endif
# include <exec/semaphores.h>
# include <proto/exec.h>
# import "OFMapTable.h"
# import "OFList.h"
# ifdef OF_AMIGAOS4
extern struct ExecIFace *IExec;
# endif
static const of_map_table_functions_t functions = { NULL };
static OFList *allKeys = nil;
static struct SignalSemaphore semaphore;
OF_CONSTRUCTOR()
{
InitSemaphore(&semaphore);
|
<
<
<
<
<
<
<
<
|
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
*/
#include "config.h"
#import "tlskey.h"
#ifdef OF_AMIGAOS
# include <exec/semaphores.h>
# include <proto/exec.h>
# import "OFMapTable.h"
# import "OFList.h"
static const of_map_table_functions_t functions = { NULL };
static OFList *allKeys = nil;
static struct SignalSemaphore semaphore;
OF_CONSTRUCTOR()
{
InitSemaphore(&semaphore);
|