diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-25 09:00:06 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-25 09:00:06 +0200 |
commit | 527c082c88390fde29f555fe3720e0d55d9edc34 (patch) | |
tree | 141242290d3cfc1fc6fe280ebd4e77477943a4f7 /src/mds-clipboard.h | |
parent | m + attributes (diff) | |
download | mds-527c082c88390fde29f555fe3720e0d55d9edc34.tar.gz mds-527c082c88390fde29f555fe3720e0d55d9edc34.tar.bz2 mds-527c082c88390fde29f555fe3720e0d55d9edc34.tar.xz |
attributes
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/mds-clipboard.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mds-clipboard.h b/src/mds-clipboard.h index 7d9d6bf..b71344c 100644 --- a/src/mds-clipboard.h +++ b/src/mds-clipboard.h @@ -109,6 +109,7 @@ int clipboard_danger(void); * @param recv_client_id The ID of the client * @return Zero on success, -1 on error */ +__attribute__((nonnull)) int clipboard_death(const char* recv_client_id); /** @@ -119,6 +120,7 @@ int clipboard_death(const char* recv_client_id); * @param recv_client_id The ID of the client * @return Zero on success, -1 on error */ +__attribute__((nonnull)) int clipboard_add(int level, const char* time_to_live, const char* recv_client_id); /** @@ -130,6 +132,7 @@ int clipboard_add(int level, const char* time_to_live, const char* recv_client_i * @param recv_message_id The message ID of the received message * @return Zero on success, -1 on error */ +__attribute__((nonnull)) int clipboard_read(int level, size_t index, const char* recv_client_id, const char* recv_message_id); /** @@ -157,6 +160,7 @@ int clipboard_set_size(int level, size_t size); * @param recv_message_id The message ID of the received message * @return Zero on success, -1 on error */ +__attribute__((nonnull)) int clipboard_get_size(int level, const char* recv_client_id, const char* recv_message_id); |