Changeset 232 for branches/samba-3.2.x/source/include
- Timestamp:
- May 27, 2009, 9:09:42 AM (16 years ago)
- Location:
- branches/samba-3.2.x/source/include
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/include/ads.h
r133 r232 79 79 char *client_site_name; 80 80 time_t current_time; 81 int tried_closest_dc;82 81 char *schema_path; 83 82 char *config_path; -
branches/samba-3.2.x/source/include/config.h.in
r228 r232 1 1 /* include/config.h.in. Generated from configure.in by autoheader. */ 2 3 /* Define if building universal (internal helper macro) */ 4 #undef AC_APPLE_UNIVERSAL_BUILD 2 5 3 6 /* Whether the host os is aix */ … … 1696 1699 #undef HAVE_STAT64 1697 1700 1698 /* whether struct stat has sub-second timestamps without struct timespec*/1701 /* whether struct stat has sub-second timestamps in st_uXtime */ 1699 1702 #undef HAVE_STAT_HIRES_TIMESTAMPS 1700 1703 … … 1705 1708 #undef HAVE_STAT_ST_ATIMENSEC 1706 1709 1710 /* whether struct stat contains st_atimespec */ 1711 #undef HAVE_STAT_ST_ATIMESPEC 1712 1713 /* whether struct stat contains st_atime_n */ 1714 #undef HAVE_STAT_ST_ATIME_N 1715 1707 1716 /* whether struct stat contains st_birthtime */ 1708 1717 #undef HAVE_STAT_ST_BIRTHTIME … … 1726 1735 #undef HAVE_STAT_ST_CTIMENSEC 1727 1736 1737 /* whether struct stat contains st_ctimespec */ 1738 #undef HAVE_STAT_ST_CTIMESPEC 1739 1740 /* whether struct stat contains st_ctime_n */ 1741 #undef HAVE_STAT_ST_CTIME_N 1742 1728 1743 /* Whether the stat struct has a st_flags member */ 1729 1744 #undef HAVE_STAT_ST_FLAGS … … 1734 1749 /* whether struct stat contains st_mtimensec */ 1735 1750 #undef HAVE_STAT_ST_MTIMENSEC 1751 1752 /* whether struct stat contains st_mtimepec */ 1753 #undef HAVE_STAT_ST_MTIMESPEC 1754 1755 /* whether struct stat contains st_mtime_n */ 1756 #undef HAVE_STAT_ST_MTIME_N 1757 1758 /* whether struct stat contains st_uatime */ 1759 #undef HAVE_STAT_ST_UATIME 1760 1761 /* whether struct stat contains st_uctime */ 1762 #undef HAVE_STAT_ST_UCTIME 1763 1764 /* whether struct stat contains st_umtime */ 1765 #undef HAVE_STAT_ST_UMTIME 1736 1766 1737 1767 /* Define to 1 if you have the <stdarg.h> header file. */ … … 2693 2723 #undef USE_SETUIDX 2694 2724 2695 /* Whether to include Active Directory support */ 2696 #undef WITH_ADS 2697 2698 /* Whether to include AFS clear-text auth support */ 2699 #undef WITH_AFS 2700 2701 /* Using asynchronous io */ 2702 #undef WITH_AIO 2703 2704 /* Whether to include automount support */ 2705 #undef WITH_AUTOMOUNT 2706 2707 /* Whether to build mount.cifs and umount.cifs */ 2708 #undef WITH_CIFSMOUNT 2709 2710 /* whether to build cifs.upcall */ 2711 #undef WITH_CIFSUPCALL 2712 2713 /* Whether to include DFS support */ 2714 #undef WITH_DFS 2715 2716 /* Whether to enable DNS service discovery support */ 2717 #undef WITH_DNSSD_SUPPORT 2718 2719 /* Whether to enable DNS Update support */ 2720 #undef WITH_DNS_UPDATES 2721 2722 /* Whether to include AFS fake-kaserver support */ 2723 #undef WITH_FAKE_KASERVER 2724 2725 /* Whether to include nisplus_home support */ 2726 #undef WITH_NISPLUS_HOME 2727 2728 /* Whether to include PAM support */ 2729 #undef WITH_PAM 2730 2731 /* Whether to include PAM MODULES support */ 2732 #undef WITH_PAM_MODULES 2733 2734 /* Whether to use profiling */ 2735 #undef WITH_PROFILE 2736 2737 /* Whether to use disk quota support */ 2738 #undef WITH_QUOTAS 2739 2740 /* Whether to include sendfile() support */ 2741 #undef WITH_SENDFILE 2742 2743 /* Whether to include experimental syslog support */ 2744 #undef WITH_SYSLOG 2745 2746 /* Whether to include experimental utmp accounting */ 2747 #undef WITH_UTMP 2748 2749 /* Whether to build winbind */ 2750 #undef WITH_WINBIND 2751 2752 /* Define to 1 if your processor stores words with the most significant byte 2753 first (like Motorola and SPARC, unlike Intel and VAX). */ 2754 #undef WORDS_BIGENDIAN 2755 2756 /* xattr functions have additional options */ 2757 #undef XATTR_ADD_OPT 2758 2759 /* Define to 1 if on AIX 3. 2760 System headers sometimes define this. 2761 We just want to avoid a redefinition error message. */ 2725 /* Enable extensions on AIX 3, Interix. */ 2762 2726 #ifndef _ALL_SOURCE 2763 2727 # undef _ALL_SOURCE 2764 2728 #endif 2729 /* Enable GNU extensions on systems that have them. */ 2730 #ifndef _GNU_SOURCE 2731 # undef _GNU_SOURCE 2732 #endif 2733 /* Enable threading extensions on Solaris. */ 2734 #ifndef _POSIX_PTHREAD_SEMANTICS 2735 # undef _POSIX_PTHREAD_SEMANTICS 2736 #endif 2737 /* Enable extensions on HP NonStop. */ 2738 #ifndef _TANDEM_SOURCE 2739 # undef _TANDEM_SOURCE 2740 #endif 2741 /* Enable general extensions on Solaris. */ 2742 #ifndef __EXTENSIONS__ 2743 # undef __EXTENSIONS__ 2744 #endif 2745 2746 2747 /* Whether to include Active Directory support */ 2748 #undef WITH_ADS 2749 2750 /* Whether to include AFS clear-text auth support */ 2751 #undef WITH_AFS 2752 2753 /* Using asynchronous io */ 2754 #undef WITH_AIO 2755 2756 /* Whether to include automount support */ 2757 #undef WITH_AUTOMOUNT 2758 2759 /* Whether to build mount.cifs and umount.cifs */ 2760 #undef WITH_CIFSMOUNT 2761 2762 /* whether to build cifs.upcall */ 2763 #undef WITH_CIFSUPCALL 2764 2765 /* Whether to include DFS support */ 2766 #undef WITH_DFS 2767 2768 /* Whether to enable DNS service discovery support */ 2769 #undef WITH_DNSSD_SUPPORT 2770 2771 /* Whether to enable DNS Update support */ 2772 #undef WITH_DNS_UPDATES 2773 2774 /* Whether to include AFS fake-kaserver support */ 2775 #undef WITH_FAKE_KASERVER 2776 2777 /* Whether to include nisplus_home support */ 2778 #undef WITH_NISPLUS_HOME 2779 2780 /* Whether to include PAM support */ 2781 #undef WITH_PAM 2782 2783 /* Whether to include PAM MODULES support */ 2784 #undef WITH_PAM_MODULES 2785 2786 /* Whether to use profiling */ 2787 #undef WITH_PROFILE 2788 2789 /* Whether to use disk quota support */ 2790 #undef WITH_QUOTAS 2791 2792 /* Whether to include sendfile() support */ 2793 #undef WITH_SENDFILE 2794 2795 /* Whether to include experimental syslog support */ 2796 #undef WITH_SYSLOG 2797 2798 /* Whether to include experimental utmp accounting */ 2799 #undef WITH_UTMP 2800 2801 /* Whether to build winbind */ 2802 #undef WITH_WINBIND 2803 2804 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 2805 significant byte first (like Motorola and SPARC, unlike Intel). */ 2806 #if defined AC_APPLE_UNIVERSAL_BUILD 2807 # if defined __BIG_ENDIAN__ 2808 # define WORDS_BIGENDIAN 1 2809 # endif 2810 #else 2811 # ifndef WORDS_BIGENDIAN 2812 # undef WORDS_BIGENDIAN 2813 # endif 2814 #endif 2815 2816 /* xattr functions have additional options */ 2817 #undef XATTR_ADD_OPT 2765 2818 2766 2819 /* File offset bits */ … … 2813 2866 #ifndef __CHAR_UNSIGNED__ 2814 2867 # undef __CHAR_UNSIGNED__ 2815 #endif2816 2817 /* Enable extensions on Solaris. */2818 #ifndef __EXTENSIONS__2819 # undef __EXTENSIONS__2820 #endif2821 #ifndef _POSIX_PTHREAD_SEMANTICS2822 # undef _POSIX_PTHREAD_SEMANTICS2823 #endif2824 #ifndef _TANDEM_SOURCE2825 # undef _TANDEM_SOURCE2826 2868 #endif 2827 2869 -
branches/samba-3.2.x/source/include/libsmb_internal.h
r133 r232 114 114 bool initialized; 115 115 116 /* dirent pointer location 117 * 116 /* dirent pointer location */ 117 struct smbc_dirent dirent; 118 /* 118 119 * Leave room for any urlencoded filename and the comment field. 119 120 * 120 * We really should use sizeof(struct smbc_dirent) plus (NAME_MAX * 3) 121 * plus whatever the max length of a comment is, plus a couple of null 122 * terminators (one after the filename,one after the comment).121 * We use (NAME_MAX * 3) plus whatever the max length of a comment is, 122 * plus a couple of null terminators (one after the filename, 123 * one after the comment). 123 124 * 124 125 * According to <linux/limits.h>, NAME_MAX is 255. Is it longer 125 126 * anyplace else? 126 127 */ 127 char dirent[1024];128 char _dirent_name[1024]; 128 129 129 130 /* … … 175 176 */ 176 177 smbc_smb_encrypt_level smb_encryption_level; 178 179 /* 180 * Should we request case sensitivity of file names? 181 */ 182 bool case_sensitive; 177 183 178 184 struct smbc_server_cache * server_cache; … … 397 403 /* Functions in libsmb_path.c */ 398 404 int 399 SMBC_urldecode(char *dest,400 char *src,401 size_t max_dest_len);402 403 int404 SMBC_urlencode(char *dest,405 char *src,406 int max_dest_len);407 408 int409 405 SMBC_parse_path(TALLOC_CTX *ctx, 410 406 SMBCCTX *context, -
branches/samba-3.2.x/source/include/libsmbclient.h
r138 r232 550 550 void 551 551 smbc_setOptionSmbEncryptionLevel(SMBCCTX *c, smbc_smb_encrypt_level level); 552 553 /** 554 * Get whether to treat file names as case-sensitive if we can't determine 555 * when connecting to the remote share whether the file system is case 556 * sensitive. This defaults to FALSE since it's most likely that if we can't 557 * retrieve the file system attributes, it's a very old file system that does 558 * not support case sensitivity. 559 */ 560 smbc_bool 561 smbc_getOptionCaseSensitive(SMBCCTX *c); 562 563 /** 564 * Set whether to treat file names as case-sensitive if we can't determine 565 * when connecting to the remote share whether the file system is case 566 * sensitive. This defaults to FALSE since it's most likely that if we can't 567 * retrieve the file system attributes, it's a very old file system that does 568 * not support case sensitivity. 569 */ 570 void 571 smbc_setOptionCaseSensitive(SMBCCTX *c, smbc_bool b); 572 552 573 553 574 /** -
branches/samba-3.2.x/source/include/proto.h
r228 r232 448 448 bool dbwrap_fetch_uint32(struct db_context *db, const char *keystr, 449 449 uint32_t *val); 450 booldbwrap_store_uint32(struct db_context *db, const char *keystr, uint32_t v);450 int dbwrap_store_uint32(struct db_context *db, const char *keystr, uint32_t v); 451 451 uint32_t dbwrap_change_uint32_atomic(struct db_context *db, const char *keystr, 452 452 uint32_t *oldval, uint32_t change_val); … … 543 543 struct timeval *to_ret); 544 544 int event_loop_once(struct event_context *ev); 545 void event_context_reinit(struct event_context *ev); 545 546 struct event_context *event_context_init(TALLOC_CTX *mem_ctx); 546 int set_event_dispatch_time(struct event_context *event_ctx,547 const char *event_name, struct timeval when);548 int cancel_named_event(struct event_context *event_ctx,549 const char *event_name);550 547 void dump_event_list(struct event_context *event_ctx); 551 548 … … 990 987 ssize_t sys_read(int fd, void *buf, size_t count); 991 988 ssize_t sys_write(int fd, const void *buf, size_t count); 989 ssize_t sys_writev(int fd, const struct iovec *iov, int iovcnt); 992 990 ssize_t sys_pread(int fd, void *buf, size_t count, SMB_OFF_T off); 993 991 ssize_t sys_pwrite(int fd, const void *buf, size_t count, SMB_OFF_T off); … … 1247 1245 void become_daemon(bool Fork, bool no_process_group); 1248 1246 bool reinit_after_fork(struct messaging_context *msg_ctx, 1247 struct event_context *ev_ctx, 1249 1248 bool parent_longlived); 1250 1249 bool yesno(const char *p); … … 1518 1517 size_t *size_ret); 1519 1518 NTSTATUS read_data(int fd, char *buffer, size_t N); 1519 ssize_t write_data_iov(int fd, const struct iovec *orig_iov, int iovcnt); 1520 1520 ssize_t write_data(int fd, const char *buffer, size_t N); 1521 1521 bool send_keepalive(int client); … … 4645 4645 4646 4646 bool saf_store( const char *domain, const char *servername ); 4647 bool saf_join_store( const char *domain, const char *servername ); 4647 4648 bool saf_delete( const char *domain ); 4648 4649 char *saf_fetch( const char *domain ); … … 5111 5112 bool is_unused_share_mode_entry(const struct share_mode_entry *e); 5112 5113 void set_share_mode(struct share_mode_lock *lck, files_struct *fsp, 5113 uid_t uid, uint16 mid, uint16 op_type, bool initial_delete_on_close_allowed);5114 uid_t uid, uint16 mid, uint16 op_type); 5114 5115 void add_deferred_open(struct share_mode_lock *lck, uint16 mid, 5115 5116 struct timeval request_time, … … 5121 5122 NTSTATUS can_set_delete_on_close(files_struct *fsp, bool delete_on_close, 5122 5123 uint32 dosmode); 5123 bool can_set_initial_delete_on_close(const struct share_mode_lock *lck);5124 5124 void set_delete_on_close_token(struct share_mode_lock *lck, UNIX_USER_TOKEN *tok); 5125 5125 void set_delete_on_close_lck(struct share_mode_lock *lck, bool delete_on_close, UNIX_USER_TOKEN *tok); 5126 5126 bool set_delete_on_close(files_struct *fsp, bool delete_on_close, UNIX_USER_TOKEN *tok); 5127 bool set_allow_initial_delete_on_close(struct share_mode_lock *lck, files_struct *fsp, bool delete_on_close);5128 5127 bool set_sticky_write_time(struct file_id fileid, struct timespec write_time); 5129 5128 bool set_write_time(struct file_id fileid, struct timespec write_time); … … 6568 6567 6569 6568 NTSTATUS print_fsp_open(connection_struct *conn, const char *fname, 6570 files_struct *fsp );6569 files_struct *fsp, SMB_STRUCT_STAT *psbuf); 6571 6570 void print_fsp_end(files_struct *fsp, enum file_close_type close_type); 6572 6571 -
branches/samba-3.2.x/source/include/smb.h
r228 r232 28 28 29 29 /* logged when starting the various Samba daemons */ 30 #define COPYRIGHT_STARTUP_MESSAGE "Copyright Andrew Tridgell and the Samba Team 1992-200 8"30 #define COPYRIGHT_STARTUP_MESSAGE "Copyright Andrew Tridgell and the Samba Team 1992-2009" 31 31 32 32 … … 765 765 766 766 #define SHARE_MODE_FLAG_POSIX_OPEN 0x1 767 #define SHARE_MODE_ALLOW_INITIAL_DELETE_ON_CLOSE 0x2768 767 769 768 /* struct returned by get_share_modes */ … … 1581 1580 1582 1581 /* LDAP SSL options */ 1583 enum ldap_ssl_types {LDAP_SSL_O N, LDAP_SSL_OFF, LDAP_SSL_START_TLS};1582 enum ldap_ssl_types {LDAP_SSL_OFF, LDAP_SSL_START_TLS}; 1584 1583 1585 1584 /* LDAP PASSWD SYNC methods */ -
branches/samba-3.2.x/source/include/version.h
r230 r232 2 2 #define SAMBA_VERSION_MAJOR 3 3 3 #define SAMBA_VERSION_MINOR 2 4 #define SAMBA_VERSION_RELEASE 75 #define SAMBA_VERSION_OFFICIAL_STRING "3.2. 7"4 #define SAMBA_VERSION_RELEASE 8 5 #define SAMBA_VERSION_OFFICIAL_STRING "3.2.8" 6 6 #define SAMBA_VERSION_STRING samba_version_string()
Note:
See TracChangeset
for help on using the changeset viewer.