librpc: rerun 'make idl' after epmapper.idl changes
authorStefan Metzmacher <metze@samba.org>
Wed, 5 Aug 2009 11:05:20 +0000 (13:05 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 7 Aug 2009 09:50:23 +0000 (11:50 +0200)
metze

librpc/gen_ndr/epmapper.h
librpc/gen_ndr/ndr_epmapper.c
librpc/gen_ndr/ndr_epmapper.h

index ff80fbb4fd781e83bde9772b39850c96df6001c5..2030e1e54f042b3503870b91a5af8395d06f0e00 100644 (file)
@@ -26,7 +26,7 @@ enum epm_protocol
        EPM_PROTOCOL_UUID=0x0d,
        EPM_PROTOCOL_IPX=0x0e,
        EPM_PROTOCOL_SMB=0x0f,
-       EPM_PROTOCOL_PIPE=0x10,
+       EPM_PROTOCOL_NAMED_PIPE=0x10,
        EPM_PROTOCOL_NETBIOS=0x11,
        EPM_PROTOCOL_NETBEUI=0x12,
        EPM_PROTOCOL_SPX=0x13,
@@ -55,7 +55,7 @@ enum epm_protocol
 #define EPM_PROTOCOL_UUID ( 0x0d )
 #define EPM_PROTOCOL_IPX ( 0x0e )
 #define EPM_PROTOCOL_SMB ( 0x0f )
-#define EPM_PROTOCOL_PIPE ( 0x10 )
+#define EPM_PROTOCOL_NAMED_PIPE ( 0x10 )
 #define EPM_PROTOCOL_NETBIOS ( 0x11 )
 #define EPM_PROTOCOL_NETBEUI ( 0x12 )
 #define EPM_PROTOCOL_SPX ( 0x13 )
@@ -116,7 +116,7 @@ struct epm_rhs_smb {
        const char * unc;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
 };
 
-struct epm_rhs_pipe {
+struct epm_rhs_named_pipe {
        const char * path;/* [flag(LIBNDR_FLAG_STR_ASCII|LIBNDR_FLAG_STR_NULLTERM)] */
 };
 
@@ -189,7 +189,7 @@ union epm_rhs {
        struct epm_rhs_uuid uuid;/* [case(EPM_PROTOCOL_UUID)] */
        struct epm_rhs_ipx ipx;/* [case(EPM_PROTOCOL_IPX)] */
        struct epm_rhs_smb smb;/* [case(EPM_PROTOCOL_SMB)] */
-       struct epm_rhs_pipe pipe;/* [case(EPM_PROTOCOL_PIPE)] */
+       struct epm_rhs_named_pipe named_pipe;/* [case(EPM_PROTOCOL_NAMED_PIPE)] */
        struct epm_rhs_netbios netbios;/* [case(EPM_PROTOCOL_NETBIOS)] */
        struct epm_rhs_netbeui netbeui;/* [case(EPM_PROTOCOL_NETBEUI)] */
        struct epm_rhs_spx spx;/* [case(EPM_PROTOCOL_SPX)] */
index e39356fbc492100a04d56ed74aac94b1b0cef274..7bcd8ddc13a7a0d8484fa19d592671b9d14fd216 100644 (file)
@@ -35,7 +35,7 @@ _PUBLIC_ void ndr_print_epm_protocol(struct ndr_print *ndr, const char *name, en
                case EPM_PROTOCOL_UUID: val = "EPM_PROTOCOL_UUID"; break;
                case EPM_PROTOCOL_IPX: val = "EPM_PROTOCOL_IPX"; break;
                case EPM_PROTOCOL_SMB: val = "EPM_PROTOCOL_SMB"; break;
-               case EPM_PROTOCOL_PIPE: val = "EPM_PROTOCOL_PIPE"; break;
+               case EPM_PROTOCOL_NAMED_PIPE: val = "EPM_PROTOCOL_NAMED_PIPE"; break;
                case EPM_PROTOCOL_NETBIOS: val = "EPM_PROTOCOL_NETBIOS"; break;
                case EPM_PROTOCOL_NETBEUI: val = "EPM_PROTOCOL_NETBEUI"; break;
                case EPM_PROTOCOL_SPX: val = "EPM_PROTOCOL_SPX"; break;
@@ -391,7 +391,7 @@ _PUBLIC_ void ndr_print_epm_rhs_smb(struct ndr_print *ndr, const char *name, con
        ndr->depth--;
 }
 
-static enum ndr_err_code ndr_push_epm_rhs_pipe(struct ndr_push *ndr, int ndr_flags, const struct epm_rhs_pipe *r)
+static enum ndr_err_code ndr_push_epm_rhs_named_pipe(struct ndr_push *ndr, int ndr_flags, const struct epm_rhs_named_pipe *r)
 {
        if (ndr_flags & NDR_SCALARS) {
                NDR_CHECK(ndr_push_align(ndr, 4));
@@ -407,7 +407,7 @@ static enum ndr_err_code ndr_push_epm_rhs_pipe(struct ndr_push *ndr, int ndr_fla
        return NDR_ERR_SUCCESS;
 }
 
-static enum ndr_err_code ndr_pull_epm_rhs_pipe(struct ndr_pull *ndr, int ndr_flags, struct epm_rhs_pipe *r)
+static enum ndr_err_code ndr_pull_epm_rhs_named_pipe(struct ndr_pull *ndr, int ndr_flags, struct epm_rhs_named_pipe *r)
 {
        if (ndr_flags & NDR_SCALARS) {
                NDR_CHECK(ndr_pull_align(ndr, 4));
@@ -423,9 +423,9 @@ static enum ndr_err_code ndr_pull_epm_rhs_pipe(struct ndr_pull *ndr, int ndr_fla
        return NDR_ERR_SUCCESS;
 }
 
-_PUBLIC_ void ndr_print_epm_rhs_pipe(struct ndr_print *ndr, const char *name, const struct epm_rhs_pipe *r)
+_PUBLIC_ void ndr_print_epm_rhs_named_pipe(struct ndr_print *ndr, const char *name, const struct epm_rhs_named_pipe *r)
 {
-       ndr_print_struct(ndr, name, "epm_rhs_pipe");
+       ndr_print_struct(ndr, name, "epm_rhs_named_pipe");
        ndr->depth++;
        ndr_print_string(ndr, "path", r->path);
        ndr->depth--;
@@ -916,8 +916,8 @@ static enum ndr_err_code ndr_push_epm_rhs(struct ndr_push *ndr, int ndr_flags, c
                                        NDR_CHECK(ndr_push_epm_rhs_smb(ndr, NDR_SCALARS, &r->smb));
                                break; }
 
-                               case EPM_PROTOCOL_PIPE: {
-                                       NDR_CHECK(ndr_push_epm_rhs_pipe(ndr, NDR_SCALARS, &r->pipe));
+                               case EPM_PROTOCOL_NAMED_PIPE: {
+                                       NDR_CHECK(ndr_push_epm_rhs_named_pipe(ndr, NDR_SCALARS, &r->named_pipe));
                                break; }
 
                                case EPM_PROTOCOL_NETBIOS: {
@@ -1022,7 +1022,7 @@ static enum ndr_err_code ndr_push_epm_rhs(struct ndr_push *ndr, int ndr_flags, c
                                case EPM_PROTOCOL_SMB:
                                break;
 
-                               case EPM_PROTOCOL_PIPE:
+                               case EPM_PROTOCOL_NAMED_PIPE:
                                break;
 
                                case EPM_PROTOCOL_NETBIOS:
@@ -1131,8 +1131,8 @@ static enum ndr_err_code ndr_pull_epm_rhs(struct ndr_pull *ndr, int ndr_flags, u
                                        NDR_CHECK(ndr_pull_epm_rhs_smb(ndr, NDR_SCALARS, &r->smb));
                                break; }
 
-                               case EPM_PROTOCOL_PIPE: {
-                                       NDR_CHECK(ndr_pull_epm_rhs_pipe(ndr, NDR_SCALARS, &r->pipe));
+                               case EPM_PROTOCOL_NAMED_PIPE: {
+                                       NDR_CHECK(ndr_pull_epm_rhs_named_pipe(ndr, NDR_SCALARS, &r->named_pipe));
                                break; }
 
                                case EPM_PROTOCOL_NETBIOS: {
@@ -1236,7 +1236,7 @@ static enum ndr_err_code ndr_pull_epm_rhs(struct ndr_pull *ndr, int ndr_flags, u
                                case EPM_PROTOCOL_SMB:
                                break;
 
-                               case EPM_PROTOCOL_PIPE:
+                               case EPM_PROTOCOL_NAMED_PIPE:
                                break;
 
                                case EPM_PROTOCOL_NETBIOS:
@@ -1345,8 +1345,8 @@ _PUBLIC_ void ndr_print_epm_rhs(struct ndr_print *ndr, const char *name, const u
                                ndr_print_epm_rhs_smb(ndr, "smb", &r->smb);
                        break;
 
-                       case EPM_PROTOCOL_PIPE:
-                               ndr_print_epm_rhs_pipe(ndr, "pipe", &r->pipe);
+                       case EPM_PROTOCOL_NAMED_PIPE:
+                               ndr_print_epm_rhs_named_pipe(ndr, "named_pipe", &r->named_pipe);
                        break;
 
                        case EPM_PROTOCOL_NETBIOS:
index 797c68d93e4332339db26172ac4ec4124c712b70..8053d078384d20bbce8f3e2f861fac7807ec0591 100644 (file)
@@ -40,7 +40,7 @@ void ndr_print_epm_rhs_ncacn(struct ndr_print *ndr, const char *name, const stru
 void ndr_print_epm_rhs_uuid(struct ndr_print *ndr, const char *name, const struct epm_rhs_uuid *r);
 void ndr_print_epm_rhs_ipx(struct ndr_print *ndr, const char *name, const struct epm_rhs_ipx *r);
 void ndr_print_epm_rhs_smb(struct ndr_print *ndr, const char *name, const struct epm_rhs_smb *r);
-void ndr_print_epm_rhs_pipe(struct ndr_print *ndr, const char *name, const struct epm_rhs_pipe *r);
+void ndr_print_epm_rhs_named_pipe(struct ndr_print *ndr, const char *name, const struct epm_rhs_named_pipe *r);
 void ndr_print_epm_rhs_netbios(struct ndr_print *ndr, const char *name, const struct epm_rhs_netbios *r);
 void ndr_print_epm_rhs_netbeui(struct ndr_print *ndr, const char *name, const struct epm_rhs_netbeui *r);
 void ndr_print_epm_rhs_spx(struct ndr_print *ndr, const char *name, const struct epm_rhs_spx *r);