]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/fb-socket.h
Merge remote-tracking branch 'origin/master'
[libucw.git] / ucw / fb-socket.h
index 033797a1bb29870a475923145719afd0ea46bc8f..87b5c622668dab3c13803f0edf808e812d0597d2 100644 (file)
 
 #include <ucw/fastbuf.h>
 
+#ifdef CONFIG_UCW_CLEAN_ABI
+#define fbsock_create ucw_fbsock_create
+#endif
+
 struct fbsock_params { /** Configuration of socket fastbuf. **/
   int fd;
   int fd_is_shared;
-  uns bufsize;
-  uns timeout_ms;
-  void (*err)(void *data, uns flags, char *msg);
+  uint bufsize;
+  uint timeout_ms;
+  void (*err)(void *data, uint flags, char *msg);
   void *data;                  // Passed to the err callback
 };