diff options
| author | Scott Prager <splinterofchaos@gmail.com> | 2015-04-13 10:25:14 -0400 |
|---|---|---|
| committer | Scott Prager <splinterofchaos@gmail.com> | 2015-04-13 10:25:14 -0400 |
| commit | d60ae3159ecb2906e53a44241a51dada359d38f0 (patch) | |
| tree | 7385a2852836512c36ef67fa3fb97ba3409bfe55 /src/nvim/api/private/defs.h | |
| parent | a9ee85b9fc2d4e3faa466e9c3062cd41315f8456 (diff) | |
| parent | c4da6bf2bac692c972ec9d06f8352996d563860f (diff) | |
| download | rneovim-d60ae3159ecb2906e53a44241a51dada359d38f0.tar.gz rneovim-d60ae3159ecb2906e53a44241a51dada359d38f0.tar.bz2 rneovim-d60ae3159ecb2906e53a44241a51dada359d38f0.zip | |
Merge pull request #1446 from splinterofchaos/obj
Allow the execution of msgpack notifications and extend vimL lightly.
Diffstat (limited to 'src/nvim/api/private/defs.h')
| -rw-r--r-- | src/nvim/api/private/defs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/api/private/defs.h b/src/nvim/api/private/defs.h index 76ac23a521..6c8e324649 100644 --- a/src/nvim/api/private/defs.h +++ b/src/nvim/api/private/defs.h @@ -22,6 +22,15 @@ typedef enum { kErrorTypeValidation } ErrorType; +typedef enum { + kMessageTypeRequest, + kMessageTypeResponse, + kMessageTypeNotification +} MessageType; + +/// Used as the message ID of notifications. +#define NO_RESPONSE UINT64_MAX + typedef struct { ErrorType type; char msg[1024]; |
