Index: trunk/include/samhain.h
===================================================================
--- trunk/include/samhain.h	(revision 34)
+++ trunk/include/samhain.h	(revision 40)
@@ -45,7 +45,9 @@
 /* Sizes for arrays (user, group, timestamp).
  */
+#define SOCKPASS_MAX 14
 #define USER_MAX  20
 #define GROUP_MAX 20
 #define TIM_MAX   32
+
 
 /* The number of bytes in a key,  
@@ -262,5 +264,5 @@
 
 typedef struct {
-  char   sh_sockpass[32];
+  char   sh_sockpass[2*SOCKPASS_MAX+2];
   char   sigkey_old[KEY_LEN+1];
   char   sigkey_new[KEY_LEN+1];
Index: trunk/include/sh_unix.h
===================================================================
--- trunk/include/sh_unix.h	(revision 34)
+++ trunk/include/sh_unix.h	(revision 40)
@@ -49,4 +49,6 @@
   SH_FILE_FIFO,
   SH_FILE_SOCKET,
+  SH_FILE_DOOR,
+  SH_FILE_PORT,
   SH_FILE_UNKNOWN
 } ShFileType;
@@ -77,5 +79,5 @@
 /* hardlinks    */
 #define MODI_HLN (1 << 10)
-/* device num   */
+/* device type   */
 #define MODI_RDEV (1 << 11)
 /* size may grow   */
