1 #ifndef _LIBSMB_INTERNAL_H_
2 #define _LIBSMB_INTERNAL_H_
4 #define SMBC_MAX_NAME 1023
5 #define SMBC_FILE_MODE (S_IFREG | 0444)
6 #define SMBC_DIR_MODE (S_IFDIR | 0555)
9 #include "../include/libsmbclient.h"
23 * Keep directory entries in a list
25 struct smbc_dir_list {
26 struct smbc_dir_list *next;
27 struct smbc_dirent *dirent;
32 * Structure for open file management
40 struct smbc_dir_list *dir_list, *dir_end, *dir_next;
41 int dir_type, dir_error;
43 SMBCFILE *next, *prev;
47 struct smbc_internal_data {
49 /** INTERNAL: is this handle initialized ?
53 /** INTERNAL: dirent pointer location
57 /** INTERNAL: server connection list
61 /** INTERNAL: open file/dir list