Code

proto: Renamed sdb_proto_get_int to sdb_proto_unmarshal_int.
[sysdb.git] / src / include / utils / proto.h
index 6f0907feee2c2e5243e61e2c37ce47419a7539b2..311162bb0682c09aa8acc11908e8b8bf2f7df4f1 100644 (file)
@@ -64,8 +64,12 @@ int
 sdb_proto_unmarshal_header(sdb_strbuf_t *buf,
                uint32_t *code, uint32_t *msg_len);
 
+/*
+ * sdb_proto_unmarshal_int:
+ * Read and decode an integer from the specified string buffer.
+ */
 uint32_t
-sdb_proto_get_int(sdb_strbuf_t *buf, size_t offset);
+sdb_proto_unmarshal_int(sdb_strbuf_t *buf, size_t offset);
 
 #ifdef __cplusplus
 } /* extern "C" */