diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2022-03-20 18:00:42 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2022-03-20 18:00:42 -0700 |
commit | 455870d1147e1f3e2249b9462ccd7ddd945dcd10 (patch) | |
tree | b0939e14cab0a0a9eb298e7a3eacd0906152a883 /src | |
parent | 9ec94aa982692ba2c06bc7d89994459615ccd740 (diff) | |
download | teliva-455870d1147e1f3e2249b9462ccd7ddd945dcd10.tar.gz |
reorg
Diffstat (limited to 'src')
-rw-r--r-- | src/teliva.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/teliva.h b/src/teliva.h index 7455cfc..8a12fe7 100644 --- a/src/teliva.h +++ b/src/teliva.h @@ -155,8 +155,6 @@ extern char* Previous_message; extern int load_image(lua_State* L, char** argv, int n); extern void developer_mode(lua_State* L); extern void permissions_mode(lua_State* L); -extern int file_operation_permitted(const char* filename, const char* mode); -extern int net_operations_permitted; extern void load_editor_buffer_to_current_definition_in_image(lua_State* L); extern int load_editor_buffer_to_current_definition_in_image_and_reload(lua_State* L); @@ -187,6 +185,11 @@ extern int report_in_developer_mode(lua_State* L, int status); extern void render_previous_error(void); +/* Permissions checking */ + +extern int file_operation_permitted(const char* filename, const char* mode); +extern int net_operations_permitted; + /* Misc */ extern int starts_with(const char* s, const char* prefix); extern int contains(const char* s, const char* sub); |