]> mj.ucw.cz Git - libucw.git/blobdiff - ucw/fb-socket.h
Tests: xtypes-test sets an explicit timezone
[libucw.git] / ucw / fb-socket.h
index c9f6806bf05df792aa7b21de57a52a2121ea1ce4..87b5c622668dab3c13803f0edf808e812d0597d2 100644 (file)
 #ifndef _UCW_FB_SOCKET_H
 #define _UCW_FB_SOCKET_H
 
-#include "ucw/fastbuf.h"
+#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;
-  uns bufsize;
-  uns timeout_ms;
-  void (*err)(void *data, uns flags, char *msg);
+  int fd_is_shared;
+  uint bufsize;
+  uint timeout_ms;
+  void (*err)(void *data, uint flags, char *msg);
   void *data;                  // Passed to the err callback
 };