2018-07-25 14:10:09 +00:00
|
|
|
#ifndef id_h
|
|
|
|
#define id_h
|
|
|
|
|
2018-07-30 09:45:33 +00:00
|
|
|
#include <stdio.h>
|
2018-07-25 14:10:09 +00:00
|
|
|
#include <stdlib.h>
|
2018-07-30 09:45:33 +00:00
|
|
|
#include <string.h>
|
2018-07-25 14:10:09 +00:00
|
|
|
#include <time.h>
|
2018-07-30 09:45:33 +00:00
|
|
|
#include "../type/type.h"
|
|
|
|
|
2018-07-25 14:10:09 +00:00
|
|
|
void init_rand(void);
|
|
|
|
unsigned long long getId(void);
|
|
|
|
|
2018-08-03 10:32:20 +00:00
|
|
|
SID *getS_id(unsigned int type, unsigned int deep_level);
|
2018-07-30 09:45:33 +00:00
|
|
|
|
|
|
|
int fitS_id(const SID *fs_id, const SID *ss_id);
|
|
|
|
int simFitS_id(const SID *fs_id, const SID *ss_id);
|
|
|
|
|
|
|
|
char *s_idToASCIIString(const SID *s_id);
|
|
|
|
SID *asciiStringToS_id(const char *string);
|
|
|
|
|
|
|
|
SID *initS_id(unsigned int deep_level);
|
2018-07-30 10:07:24 +00:00
|
|
|
int freeS_id(SID *s_id);
|
2018-07-25 14:10:09 +00:00
|
|
|
|
|
|
|
#endif /* id_h */
|