/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
#include <netdb.h>
#include <string.h>
#include <strings.h>
#include <smbsrv/libntsvcs.h>
static int wkssvc_s_NetWkstaGetInfo(void *, ndr_xa_t *);
static int wkssvc_s_NetWkstaTransportEnum(void *, ndr_xa_t *);
{0}
};
"Workstation", /* name (WKSSVC or WKSTA) */
"Workstation services", /* desc */
"\\wkssvc", /* endpoint */
PIPE_NTSVCS, /* sec_addr_port */
"6bffd098-a112-3610-9833-46c3f87e345a", 1, /* abstract */
0, /* no bind_instance_size */
0, /* no bind_req() */
0, /* no unbind_and_close() */
0, /* use generic_call_stub() */
wkssvc_stub_table /* stub_table */
};
void
wkssvc_initialize(void)
{
(void) ndr_svc_register(&wkssvc_service);
}
/*
* WKSSVC NetWkstaGetInfo
*/
static int
{
char *name;
char *domain;
int rc;
}
return (NDR_DRC_OK);
}
case 100:
break;
case 101:
break;
case 102:
break;
case 502:
break;
default:
break;
}
if (status != ERROR_SUCCESS) {
}
return (NDR_DRC_OK);
}
/*
* WKSSVC NetWkstaTransportEnum
*/
static int
{
case 0:
break;
}
if (param->resume_handle)
*param->resume_handle = 0;
break;
default:
}
return (NDR_DRC_OK);
}