Print this page
1575 untangle libmlrpc ... pre2:
 Get rid of ndr_rpc_server_{info,os}

@@ -125,25 +125,10 @@
 typedef struct ms_luid {
         uint32_t low_part;
         uint32_t high_part;
 } ms_luid_t;
 
-/*
- * Information about a server as reported by NetServerGetInfo.
- * The SV_PLATFORM and SV_TYPE definitions are in srvsvc.ndl.
- */
-typedef struct srvsvc_server_info {
-        uint32_t        sv_platform_id;
-        char            *sv_name;
-        uint32_t        sv_version_major;
-        uint32_t        sv_version_minor;
-        uint32_t        sv_type;
-        char            *sv_comment;
-        uint32_t        sv_os;
-} srvsvc_server_info_t;
-
-int srvsvc_net_server_getinfo(char *, char *, srvsvc_server_info_t *);
 int srvsvc_net_remote_tod(char *, char *, struct timeval *, struct tm *);
 
 
 /*
  * A client_t is created while binding a client connection to hold the

@@ -154,21 +139,18 @@
  * level (bind) handle is released, we close the connection.
  */
 typedef struct mlsvc_handle {
         ndr_hdid_t                      handle;
         ndr_client_t                    *clnt;
-        srvsvc_server_info_t            svinfo;
 } mlsvc_handle_t;
 
 void ndr_rpc_init(void);
 void ndr_rpc_fini(void);
 uint32_t ndr_rpc_bind(mlsvc_handle_t *, char *, char *, char *, const char *);
 void ndr_rpc_unbind(mlsvc_handle_t *);
 int ndr_rpc_call(mlsvc_handle_t *, int, void *);
 void ndr_rpc_set_nonull(mlsvc_handle_t *);
-const srvsvc_server_info_t *ndr_rpc_server_info(mlsvc_handle_t *);
-uint32_t ndr_rpc_server_os(mlsvc_handle_t *);
 int ndr_rpc_get_ssnkey(mlsvc_handle_t *, unsigned char *, size_t);
 void *ndr_rpc_malloc(mlsvc_handle_t *, size_t);
 ndr_heap_t *ndr_rpc_get_heap(mlsvc_handle_t *);
 void ndr_rpc_release(mlsvc_handle_t *);
 boolean_t ndr_is_null_handle(mlsvc_handle_t *);