Update.
This commit is contained in:
parent
bd9b1b929e
commit
bd31abcbdb
22
include/spawn_tracker.h
Normal file
22
include/spawn_tracker.h
Normal file
@ -0,0 +1,22 @@
|
||||
// retoor <retoor@molodetz.nl>
|
||||
|
||||
#ifndef R_SPAWN_TRACKER_H
|
||||
#define R_SPAWN_TRACKER_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#define SPAWN_DEPTH_DEFAULT 5
|
||||
#define SPAWN_TOTAL_DEFAULT 20
|
||||
#define SPAWN_RESULT_MIN_LENGTH 100
|
||||
|
||||
typedef struct spawn_tracker_t *spawn_tracker_handle;
|
||||
|
||||
spawn_tracker_handle spawn_tracker_get_instance(void);
|
||||
void spawn_tracker_destroy(void);
|
||||
|
||||
bool spawn_tracker_can_spawn(spawn_tracker_handle tracker);
|
||||
int spawn_tracker_begin(spawn_tracker_handle tracker);
|
||||
void spawn_tracker_end(spawn_tracker_handle tracker, int depth_token);
|
||||
bool spawn_tracker_validate_result(const char *result);
|
||||
|
||||
#endif
|
||||
Loading…
Reference in New Issue
Block a user