svrapi: Added a stub svrapi.dll.
diff --git a/include/Makefile.in b/include/Makefile.in
index 67fbced..5f94e1d 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -272,6 +272,7 @@
 	sqltypes.h \
 	sspi.h \
 	storage.h \
+	svrapi.h \
 	tapi.h \
 	tchar.h \
 	textserv.h \
diff --git a/include/lmcons.h b/include/lmcons.h
index 8489228..5a0a2fe 100644
--- a/include/lmcons.h
+++ b/include/lmcons.h
@@ -29,32 +29,33 @@
 
 /* Lan manager API defines */
 
-#define UNLEN       256                 /* Maximum user name length */
+#define UNLEN       256
 #define LM20_UNLEN  20
-#define GNLEN       UNLEN               /* Maximum group name length */
+#define GNLEN       UNLEN
 #define LM20_GNLEN  LM20_UNLEN
-#define PWLEN       256                 /* Maximum password length */
+#define PWLEN       256
 #define LM20_PWLEN  14
-#define CNLEN       15                  /* Computer name length  */
+#define SHPWLEN     8
+#define CNLEN       15
 #define LM20_CNLEN  CNLEN
-#define DNLEN       CNLEN               /* Maximum domain name length */
+#define DNLEN       CNLEN
 #define LM20_DNLEN  DNLEN
-#define UNCLEN      (CNLEN+2)           /* UNC computer name length */
+#define UNCLEN      (CNLEN+2)
 #define LM20_UNCLEN (LM20_CNLEN+2)
-#define NNLEN       80                  /* max share name length */
-#define LM20_NNLEN  12                  /* max LM 2.0 share name length */
+#define NNLEN       80
+#define LM20_NNLEN  12
 #define RMLEN       (UNCLEN+1+NNLEN)
 #define LM20_RMLEN  (LM20_UNCLEN+1+LM20_NNLEN)
-#define SNLEN       80                  /* max service name length */
+#define SNLEN       80
 #define LM20_SNLEN  15
-#define STXTLEN     256                 /* service text length */
+#define STXTLEN     256
 #define LM20_STXTLEN 63
 #define PATHLEN     256
 #define LM20_PATHLEN 256
-#define DEVLEN      80                  /* max device name length */
+#define DEVLEN      80
 #define LM20_DEVLEN 8
-#define EVLEN       16                  /* max event name length */
-#define CLTYPE_LEN  12                  /* max client type length */
+#define EVLEN       16
+#define CLTYPE_LEN  12
 
 /* platform IDs */
 #define PLATFORM_ID_DOS 300
diff --git a/include/svrapi.h b/include/svrapi.h
new file mode 100644
index 0000000..adee78f
--- /dev/null
+++ b/include/svrapi.h
@@ -0,0 +1,46 @@
+/*
+* Copyright 2006 Konstantin Petrov
+*
+* This library is free software; you can redistribute it and/or
+* modify it under the terms of the GNU Lesser General Public
+* License as published by the Free Software Foundation; either
+* version 2.1 of the License, or (at your option) any later version.
+*
+* This library is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this library; if not, write to the Free Software
+* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+*/
+
+#ifndef SVRAPI_INCLUDED
+#define SVRAPI_INCLUDED
+
+#include <lmcons.h>
+#include <lmerr.h>
+
+#include <pshpack1.h>
+
+typedef struct _share_info_1 {
+       char shi1_netname[LM20_NNLEN+1];
+       char shi1_pad1;
+       unsigned short shi1_type;
+       char* shi1_remark;
+} share_info_1;
+
+typedef struct _share_info_50 {
+       char shi50_netname[LM20_NNLEN+1];
+       unsigned char shi50_type;
+       unsigned short shi50_flags;
+       char* shi50_remark;
+       char* shi50_path;
+       char shi50_rw_password[SHPWLEN+1];
+       char shi50_ro_password[SHPWLEN+1];
+} share_info_50;
+
+#include <poppack.h>
+
+#endif /* SVRAPI_INCLUDED */