1
0
Fork 0
mirror of https://github.com/suchmememanyskill/TegraExplorer.git synced 2024-11-29 23:32:06 +00:00
TegraExplorer/source/tegraexplorer/script/variables.h

34 lines
753 B
C
Raw Normal View History

2020-03-31 13:24:34 +01:00
#pragma once
#include "../../utils/types.h"
typedef struct _dict_str_int {
char *key;
int value;
struct _dict_str_int *next;
} dict_str_int;
typedef struct _dict_str_str {
char *key;
char *value;
struct _dict_str_str *next;
} dict_str_str;
typedef struct _dict_str_loc {
char *key;
u64 value;
struct _dict_str_loc *next;
} dict_str_loc;
int str_int_add(char *key, int value);
int str_int_find(char *key, int *out);
void str_int_clear();
2020-03-31 16:58:09 +01:00
void str_int_printall();
/*
2020-03-31 16:58:09 +01:00
int str_jmp_add(char *key, u64 value);
int str_jmp_find(char *key, u64 *out);
2020-03-31 19:13:39 +01:00
void str_jmp_clear();
*/
2020-03-31 19:13:39 +01:00
int str_str_add(char *key, char *value);
int str_str_find(char *key, char **out);
int str_str_index(int index, char **out);
void str_str_clear();