@@ -50,72 +50,72 @@ void uapi_teardown(void);
5050 * Result codes (ZigApi.ABI.Types.resultTag)
5151 * ========================================================================== */
5252
53- #define UAPI_OK 0
54- #define UAPI_ERR 1
55- #define UAPI_INVALID_PARAM 2
56- #define UAPI_OUT_OF_MEMORY 3
57- #define UAPI_NULL_POINTER 4
58- #define UAPI_PATH_DENIED 5
59- #define UAPI_PROCESS_FAILED 6
60- #define UAPI_TIMEOUT 7
61- #define UAPI_NOT_FOUND 8
62- #define UAPI_ALREADY_EXISTS 9
63- #define UAPI_SLOT_EXHAUSTED 10
53+ #define UAPI_OK 0
54+ #define UAPI_ERR 1
55+ #define UAPI_INVALID_PARAM 2
56+ #define UAPI_OUT_OF_MEMORY 3
57+ #define UAPI_NULL_POINTER 4
58+ #define UAPI_PATH_DENIED 5
59+ #define UAPI_PROCESS_FAILED 6
60+ #define UAPI_TIMEOUT 7
61+ #define UAPI_NOT_FOUND 8
62+ #define UAPI_ALREADY_EXISTS 9
63+ #define UAPI_SLOT_EXHAUSTED 10
6464
6565/* ============================================================================
6666 * ServerState tags (ZigApi.ABI.Http.serverStateTag)
6767 * ========================================================================== */
6868
69- #define UAPI_SERVER_IDLE 0
70- #define UAPI_SERVER_LISTENING 1
71- #define UAPI_SERVER_DRAINING 2
72- #define UAPI_SERVER_STOPPED 3
69+ #define UAPI_SERVER_IDLE 0
70+ #define UAPI_SERVER_LISTENING 1
71+ #define UAPI_SERVER_DRAINING 2
72+ #define UAPI_SERVER_STOPPED 3
7373
7474/* ============================================================================
7575 * HealthStatus tags (ZigApi.ABI.Http.healthStatusTag)
7676 * ========================================================================== */
7777
78- #define UAPI_HEALTH_SERVING 0
79- #define UAPI_HEALTH_NOT_SERVING 1
78+ #define UAPI_HEALTH_SERVING 0
79+ #define UAPI_HEALTH_NOT_SERVING 1
8080
8181/* ============================================================================
8282 * ConnectorState tags (ZigApi.ABI.Connector.connectorStateTag)
8383 * ========================================================================== */
8484
85- #define UAPI_CONNECTOR_DISCONNECTED 0
86- #define UAPI_CONNECTOR_CONNECTING 1
87- #define UAPI_CONNECTOR_CONNECTED 2
88- #define UAPI_CONNECTOR_DEGRADED 3
89- #define UAPI_CONNECTOR_FAILED 4
90- #define UAPI_CONNECTOR_DRAINING 5
85+ #define UAPI_CONNECTOR_DISCONNECTED 0
86+ #define UAPI_CONNECTOR_CONNECTING 1
87+ #define UAPI_CONNECTOR_CONNECTED 2
88+ #define UAPI_CONNECTOR_DEGRADED 3
89+ #define UAPI_CONNECTOR_FAILED 4
90+ #define UAPI_CONNECTOR_DRAINING 5
9191
9292/* ============================================================================
9393 * ServiceId tags (ZigApi.ABI.Connector.serviceIdTag)
9494 * ========================================================================== */
9595
96- #define UAPI_SERVICE_AMBIENT_OPS 0
97- #define UAPI_SERVICE_BOJ 1
98- #define UAPI_SERVICE_BURBLE 2
99- #define UAPI_SERVICE_ECHIDNA 3
100- #define UAPI_SERVICE_GOSSAMER 4
101- #define UAPI_SERVICE_GROOVE_BRIDGE 5
102- #define UAPI_SERVICE_HYPATIA 6
103- #define UAPI_SERVICE_IDAPTIK 7
104- #define UAPI_SERVICE_REPOSYSTEM 8
105- #define UAPI_SERVICE_STAPELN 9
106- #define UAPI_SERVICE_VERISIMDB 10
96+ #define UAPI_SERVICE_AMBIENT_OPS 0
97+ #define UAPI_SERVICE_BOJ 1
98+ #define UAPI_SERVICE_BURBLE 2
99+ #define UAPI_SERVICE_ECHIDNA 3
100+ #define UAPI_SERVICE_GOSSAMER 4
101+ #define UAPI_SERVICE_GROOVE_BRIDGE 5
102+ #define UAPI_SERVICE_HYPATIA 6
103+ #define UAPI_SERVICE_IDAPTIK 7
104+ #define UAPI_SERVICE_REPOSYSTEM 8
105+ #define UAPI_SERVICE_STAPELN 9
106+ #define UAPI_SERVICE_VERISIMDB 10
107107
108108/* ============================================================================
109109 * HTTP Method tags (ZigApi.ABI.Http.methodTag)
110110 * ========================================================================== */
111111
112- #define UAPI_METHOD_GET 0
113- #define UAPI_METHOD_POST 1
114- #define UAPI_METHOD_PUT 2
115- #define UAPI_METHOD_DELETE 3
116- #define UAPI_METHOD_HEAD 4
117- #define UAPI_METHOD_OPTIONS 5
118- #define UAPI_METHOD_PATCH 6
112+ #define UAPI_METHOD_GET 0
113+ #define UAPI_METHOD_POST 1
114+ #define UAPI_METHOD_PUT 2
115+ #define UAPI_METHOD_DELETE 3
116+ #define UAPI_METHOD_HEAD 4
117+ #define UAPI_METHOD_OPTIONS 5
118+ #define UAPI_METHOD_PATCH 6
119119
120120/* ============================================================================
121121 * Gnosis API server (ffi/zig/src/gnosis.zig)
0 commit comments