This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.

View the commit online.

commit 0d17746a8a387e0dd4fb0515a680773e740e301e
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
AuthorDate: Fri Sep 15 16:43:20 2023 +0100

    format cmd nicely and doc all cmds used so far
---
 src/shared/common/cmd.h | 45 +++++++++++++++++++++++++++++----------------
 1 file changed, 29 insertions(+), 16 deletions(-)

diff --git a/src/shared/common/cmd.h b/src/shared/common/cmd.h
index 48041c8..bafd154 100644
--- a/src/shared/common/cmd.h
+++ b/src/shared/common/cmd.h
@@ -5,14 +5,27 @@
 # include <Ecore.h>
 # include "efm.h"
 
-// commands:
-// file-add // a dile in a dir being monitored has been added
-// file-del // a file in a dir being monitored has been deleted
-// file-mod // a file in a dir being monitored has been modified
-// dir-del  // the dir being monitored/listed has been deleted
+// CURRENT COMMANDS:
+////////////////////
+//
+// file-add   // a dile in a dir being monitored has been added
+// file-del   // a file in a dir being monitored has been deleted
+// file-mod   // a file in a dir being monitored has been modified
+// dir-set    // tell the backend what dir to open/list/watch
+// dir-del    // the dir being monitored/listed has been deleted
+// meta-set   // set metadata for a file path
+// list-begin // begin initial listing of dir
+// list-end   // end initial listing of dir 
 // 
-// future:
-// dir-usage // how much data, number of files, dirs etc.
+////////////////////
+
+
+// FUTURE COMMANDS:
+///////////////////
+//
+// dir-usage  // how much data, number of files, dirs etc.
+// 
+///////////////////
 
 typedef struct _Cmd
 {
@@ -23,15 +36,15 @@ typedef struct _Cmd
    const char    *dict[];
 } Cmd;
 
-Cmd  *cmd_parse(const char *cmd);
-void  cmd_free(Cmd *c);
-Cmd  *cmd_dup(const Cmd *c);
-void  cmd_dump_sterr(Cmd *c);
+Cmd         *cmd_parse                (const char *cmd);
+void         cmd_free                 (Cmd *c);
+Cmd         *cmd_dup                  (const Cmd *c);
+void         cmd_dump_sterr           (Cmd *c);
 
-Eina_Strbuf *cmd_strbuf_new(const char *command);
-void         cmd_strbuf_append(Eina_Strbuf *strbuf, const char *key, const char *val);
-void         cmd_strbuf_print_consume(Eina_Strbuf *strbuf);
-void         cmd_strbuf_exe_consume(Eina_Strbuf *strbuf, Ecore_Exe *exe);
-const char  *cmd_key_find(const Cmd *c, const char *key);
+Eina_Strbuf *cmd_strbuf_new           (const char *command);
+void         cmd_strbuf_append        (Eina_Strbuf *strbuf, const char *key, const char *val);
+void         cmd_strbuf_print_consume (Eina_Strbuf *strbuf);
+void         cmd_strbuf_exe_consume   (Eina_Strbuf *strbuf, Ecore_Exe *exe);
+const char  *cmd_key_find             (const Cmd *c, const char *key);
 
 #endif

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to