summaryrefslogtreecommitdiff
path: root/lsp.h
diff options
context:
space:
mode:
Diffstat (limited to 'lsp.h')
-rw-r--r--lsp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lsp.h b/lsp.h
index e3f3bcf..6f3c047 100644
--- a/lsp.h
+++ b/lsp.h
@@ -8,8 +8,11 @@
#include "ds.h"
#include "os.h"
+// a document ID. 0 is a valid document ID, currently.
typedef u32 LSPDocumentID;
+// ID of an LSP server. a server's ID is never 0.
typedef u32 LSPID;
+// a request ID. this is unique across all servers. a request's ID is never 0.
typedef u32 LSPRequestID;
typedef struct SDL_mutex *LSPMutex;
typedef struct SDL_semaphore *LSPSemaphore;