READ ONLY state for buffers
Build project / build (push) Successful in 36s

This commit is contained in:
2026-05-23 15:42:17 +02:00
parent 310498d582
commit c4d772e465
8 changed files with 58 additions and 11 deletions
+4 -1
View File
@@ -13,7 +13,7 @@
* @param filename Path to the file
* @return Buffer ID on success, -1 on failure
*/
int bufferCreate(const char *filename);
int bufferCreate(const char *filename, enum bufferStatus_e state);
/**
* @brief Switches to a specific buffer by ID
@@ -56,5 +56,8 @@ int bufferSave(void);
int bufferSaveAll(void);
void bufferFind(struct buffer_t *buf);
void bufferFindReverse(struct buffer_t* buf);
#endif