Print this page
1575 untangle libmlrpc ... (libmlrpc)

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libmlrpc/common/ndr_ops.c
          +++ new/usr/src/lib/libmlrpc/common/ndr_ops.c
↓ open down ↓ 41 lines elided ↑ open up ↑
  42   42  
  43   43  #include <sys/types.h>
  44   44  #include <stdarg.h>
  45   45  #include <ctype.h>
  46   46  #include <stdio.h>
  47   47  #include <stdlib.h>
  48   48  #include <strings.h>
  49   49  #include <string.h>
  50   50  #include <assert.h>
  51   51  
  52      -#include <smbsrv/libsmb.h>
  53      -#include <smbsrv/libmlrpc.h>
       52 +#include <libmlrpc.h>
  54   53  
  55   54  #define NDOBUFSZ                128
  56   55  
  57   56  #define NDR_PDU_BLOCK_SIZE      (4*1024)
  58   57  #define NDR_PDU_BLOCK_MASK      (NDR_PDU_BLOCK_SIZE - 1)
  59   58  #define NDR_PDU_ALIGN(N) \
  60   59          (((N) + NDR_PDU_BLOCK_SIZE) & ~NDR_PDU_BLOCK_MASK)
  61   60  #define NDR_PDU_MAX_SIZE                (64*1024*1024)
  62   61  
  63   62  static char *ndo_malloc(ndr_stream_t *, unsigned, ndr_ref_t *);
↓ open down ↓ 494 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX