about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2022-03-20 18:00:42 -0700
committerKartik K. Agaram <vc@akkartik.com>2022-03-20 18:00:42 -0700
commit455870d1147e1f3e2249b9462ccd7ddd945dcd10 (patch)
treeb0939e14cab0a0a9eb298e7a3eacd0906152a883 /src
parent9ec94aa982692ba2c06bc7d89994459615ccd740 (diff)
downloadteliva-455870d1147e1f3e2249b9462ccd7ddd945dcd10.tar.gz
reorg
Diffstat (limited to 'src')
-rw-r--r--src/teliva.h7
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);