Ignore:
Timestamp:
Sep 30, 2007, 3:42:50 AM (18 years ago)
Author:
Paul Smedley
Message:

Update trunk to 3.2.0pre1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/samba/source/librpc/ndr/libndr.h

    r22 r77  
    66   This program is free software; you can redistribute it and/or modify
    77   it under the terms of the GNU General Public License as published by
    8    the Free Software Foundation; either version 2 of the License, or
     8   the Free Software Foundation; either version 3 of the License, or
    99   (at your option) any later version.
    1010   
     
    1515   
    1616   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/>.
    1918*/
    2019
     
    2625#include "librpc/ndr/misc.h"
    2726#include "librpc/ndr/security.h"
    28 
    29 struct dcerpc_syntax_id {
    30         struct GUID uuid;
    31         uint32_t if_version;
    32 }/* [public] */;
    3327
    3428/*
     
    9488        struct ndr_token_list *relative_list;
    9589        struct ndr_token_list *nbt_string_list;
     90        struct ndr_token_list *full_ptr_list;
    9691
    9792        /* this is used to ensure we generate unique reference IDs */
     
    290285typedef void (*ndr_print_function_t)(struct ndr_print *, const char *, int, const void *);
    291286
    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"
     287extern const struct ndr_syntax_id ndr_transfer_syntax;
     288extern const struct ndr_syntax_id ndr64_transfer_syntax;
     289
     290struct 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
     299struct ndr_interface_string_array {
     300        uint32_t count;
     301        const char * const *names;
     302};
     303
     304struct 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
     314struct ndr_interface_list {
     315        struct ndr_interface_list *prev, *next;
     316        const struct ndr_interface_table *table;
     317};
    296318
    297319#endif /* __LIBNDR_H__ */
Note: See TracChangeset for help on using the changeset viewer.