src/protocols/novell/nmconn.h

changeset 8874
6dda85680808
parent 8684
7ec649752daa
child 8933
0f1e8160581d
--- a/src/protocols/novell/nmconn.h	Tue May 04 17:45:59 2004 +0000
+++ b/src/protocols/novell/nmconn.h	Wed May 05 20:29:21 2004 +0000
@@ -110,6 +110,28 @@
 NMERR_T nm_read_all(NMConn * conn, char *buf, int len);
 
 /**
+ * Read a 32 bit value and convert it to the host byte order.
+ *
+ * @param conn	The connection to read from.
+ * @param val	A pointer to unsigned 32 bit integer
+ *
+ * @return		NM_OK on success, NMERR_TCP_READ if read fails.
+ */
+NMERR_T
+nm_read_uint32(NMConn *conn, guint32 *val);
+
+/**
+ * Read a 16 bit value and convert it to the host byte order.
+ *
+ * @param conn	The connection to read from.
+ * @param val	A pointer to unsigned 16 bit integer
+ *
+ * @return		NM_OK on success, NMERR_TCP_READ if read fails.
+ */
+NMERR_T
+nm_read_uint16(NMConn *conn, guint16 *val);
+
+/**
  * Dispatch a request to the server.
  *
  * @param conn		The connection.

mercurial