summaryrefslogtreecommitdiffstats
path: root/lib/common.h
diff options
context:
space:
mode:
authormrfoxygmfr <mrfoxygmfr@sch9.ru>2025-05-21 02:35:58 +0300
committermrfoxygmfr <mrfoxygmfr@sch9.ru>2025-05-21 02:35:58 +0300
commited729f994f55fe2bdbfa824689afab82d3ac87c7 (patch)
treed593ce59222b1aa3113a3cb1f8fef3d7466d8553 /lib/common.h
parentb7fa22dfeb60e66a6ba5e0a6a554d0f056e09724 (diff)
feat(lib): implement controller and worker in library
Diffstat (limited to 'lib/common.h')
-rw-r--r--lib/common.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/common.h b/lib/common.h
index 2ffbc9b..ab6c05d 100644
--- a/lib/common.h
+++ b/lib/common.h
@@ -9,7 +9,11 @@
#include <unistd.h>
#include <string.h>
#include <errno.h>
+#include <time.h>
-#define COMMON_CONST 1
+enum {
+ REQUEST_TYPE_GET_TASK,
+ REQUEST_TYPE_PUT_RESULT,
+};
#endif // COMMON_H