it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
-
+
This program 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 General Public License for more details.
-
+
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
/* Connect to a server and give us back a handle. If Con == NULL, create */
/* The handle and populate it with defaults */
-void *SMB_Connect(void *Con, void **tree,
+void *SMB_Connect(void *Con, void **tree,
char *name, char *User, char *Password);
/* Negotiate a protocol */
/* Connect to a tree ... */
-void *SMB_TreeConnect(void *con_handle, void *tree_handle,
+void *SMB_TreeConnect(void *con_handle, void *tree_handle,
char *path, char *password, char *dev);
/* Disconnect a tree ... */
void *file_handle,
char *file_name,
unsigned short mode,
- unsigned short search);
+ unsigned short search);
/* Close a file */
int SMB_Discon(void *Con, BOOL KeepHandle);
void *SMB_Create(void *Tree_Handle,
- void *File_Handle,
- char *file_name,
+ void *File_Handle,
+ char *file_name,
short search);
int SMB_Delete(void *tree, char *file_name, short search);