]> arthur.barton.de Git - netatalk.git/blobdiff - include/atalk/uam.h
Merge master
[netatalk.git] / include / atalk / uam.h
index f32eb7f278aa096e63163db23de768a8fa2cc676..d0499c6fecefa16472bb75d36e95d1400595d7da 100644 (file)
@@ -5,7 +5,6 @@
 #ifndef UAM_H
 #define UAM_H 1
 
-#include <sys/cdefs.h>
 #include <pwd.h>
 #include <stdarg.h>
 
@@ -15,7 +14,9 @@
 #endif /* TRU64 */
 
 /* just a label for exported bits */
-#define UAM_MODULE_EXPORT __attribute__ ((visibility("default"))) 
+#ifndef UAM_MODULE_EXPORT
+#define UAM_MODULE_EXPORT 
+#endif
 
 /* type of uam */
 #define UAM_MODULE_SERVER       1
@@ -75,6 +76,8 @@ struct session_info {
   size_t  cryptedkey_len;
   void    *sessiontoken;        /* session token sent to the client on FPGetSessionToken*/
   size_t  sessiontoken_len;
+  void    *clientid;          /* whole buffer cotaining eg idlen, id and boottime */
+  size_t  clientid_len;
 };
 
 /* register and unregister uams with these functions */