Skip to content

Commit

Permalink
reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
akkartik committed Mar 21, 2022
1 parent 9ec94aa commit 455870d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/teliva.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 455870d

Please sign in to comment.