File: support.h

package info (click to toggle)
bam 0.2.0-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 988 kB
  • ctags: 2,368
  • sloc: ansic: 15,322; python: 338; makefile: 42; cpp: 23; sh: 7
file content (22 lines) | stat: -rw-r--r-- 576 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22

void install_signals(void (*abortsignal)(int));

void platform_init();
void platform_shutdown();

void *threads_create(void (*threadfunc)(void *), void *u);
void threads_join(void *thread);
void threads_yield();

void criticalsection_enter();
void criticalsection_leave();

time_t timestamp();
time_t file_timestamp(const char *filename);
int file_exist(const char *filename);

int lf_collect(struct lua_State *L);
int lf_collectrecursive(struct lua_State *L);
int lf_collectdirs(lua_State *L);
int lf_collectdirsrecursive(lua_State *L);
int lf_listdir(struct lua_State *L);