comparison toys/pending/nbd_client.c @ 1104:e11684e3bbc5 draft

Merge toynet.h into toys.h: musl supports it and micromanaging uClibc config options isn't very interesting anymore.
author Rob Landley <rob@landley.net>
date Sat, 02 Nov 2013 14:24:33 -0500
parents 6f5fed66c722
children 85f297591693
comparison
equal deleted inserted replaced
1103:bc09fa708d94 1104:e11684e3bbc5
30 -c DEVICE 30 -c DEVICE
31 */ 31 */
32 32
33 #define FOR_nbd_client 33 #define FOR_nbd_client
34 #include "toys.h" 34 #include "toys.h"
35 #include "toynet.h"
36 35
37 #define NBD_SET_SOCK _IO(0xab, 0) 36 #define NBD_SET_SOCK _IO(0xab, 0)
38 #define NBD_SET_BLKSIZE _IO(0xab, 1) 37 #define NBD_SET_BLKSIZE _IO(0xab, 1)
39 #define NBD_SET_SIZE _IO(0xab, 2) 38 #define NBD_SET_SIZE _IO(0xab, 2)
40 #define NBD_DO_IT _IO(0xab, 3) 39 #define NBD_DO_IT _IO(0xab, 3)