Changeset 77 for trunk/samba/source/librpc/ndr/libndr.h
- Timestamp:
- Sep 30, 2007, 3:42:50 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/samba/source/librpc/ndr/libndr.h
r22 r77 6 6 This program is free software; you can redistribute it and/or modify 7 7 it under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2of the License, or8 the Free Software Foundation; either version 3 of the License, or 9 9 (at your option) any later version. 10 10 … … 15 15 16 16 You should have received a copy of the GNU General Public License 17 along with this program; if not, write to the Free Software 18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 17 along with this program. If not, see <http://www.gnu.org/licenses/>. 19 18 */ 20 19 … … 26 25 #include "librpc/ndr/misc.h" 27 26 #include "librpc/ndr/security.h" 28 29 struct dcerpc_syntax_id {30 struct GUID uuid;31 uint32_t if_version;32 }/* [public] */;33 27 34 28 /* … … 94 88 struct ndr_token_list *relative_list; 95 89 struct ndr_token_list *nbt_string_list; 90 struct ndr_token_list *full_ptr_list; 96 91 97 92 /* this is used to ensure we generate unique reference IDs */ … … 290 285 typedef void (*ndr_print_function_t)(struct ndr_print *, const char *, int, const void *); 291 286 292 extern const struct dcerpc_syntax_id ndr_transfer_syntax; 293 extern const struct dcerpc_syntax_id ndr64_transfer_syntax; 294 295 #include "dcerpc.h" 287 extern const struct ndr_syntax_id ndr_transfer_syntax; 288 extern const struct ndr_syntax_id ndr64_transfer_syntax; 289 290 struct ndr_interface_call { 291 const char *name; 292 size_t struct_size; 293 ndr_push_flags_fn_t ndr_push; 294 ndr_pull_flags_fn_t ndr_pull; 295 ndr_print_function_t ndr_print; 296 BOOL async; 297 }; 298 299 struct ndr_interface_string_array { 300 uint32_t count; 301 const char * const *names; 302 }; 303 304 struct ndr_interface_table { 305 const char *name; 306 struct ndr_syntax_id syntax_id; 307 const char *helpstring; 308 uint32_t num_calls; 309 const struct ndr_interface_call *calls; 310 const struct ndr_interface_string_array *endpoints; 311 const struct ndr_interface_string_array *authservices; 312 }; 313 314 struct ndr_interface_list { 315 struct ndr_interface_list *prev, *next; 316 const struct ndr_interface_table *table; 317 }; 296 318 297 319 #endif /* __LIBNDR_H__ */
Note:
See TracChangeset
for help on using the changeset viewer.