wkssvc_svc.c (9fb67ea3) | wkssvc_svc.c (148c5f43) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 4 unchanged lines hidden (view full) --- 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License (the "License"). 6 * You may not use this file except in compliance with the License. 7 * 8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE --- 4 unchanged lines hidden (view full) --- 13 * When distributing Covered Code, include this CDDL HEADER in each 14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ |
21 |
|
21/* | 22/* |
22 * Copyright 2010 Sun Microsystems, Inc. All rights reserved. 23 * Use is subject to license terms. | 23 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. |
24 */ 25 26#include <netdb.h> 27#include <sys/types.h> 28#include <string.h> 29#include <strings.h> 30#include <smbsrv/libsmb.h> 31#include <smbsrv/libmlsvc.h> 32#include <smbsrv/smbinfo.h> 33#include <smbsrv/nmpipes.h> | 24 */ 25 26#include <netdb.h> 27#include <sys/types.h> 28#include <string.h> 29#include <strings.h> 30#include <smbsrv/libsmb.h> 31#include <smbsrv/libmlsvc.h> 32#include <smbsrv/smbinfo.h> 33#include <smbsrv/nmpipes.h> |
34#include <smbsrv/nterror.h> 35#include <smbsrv/lmerr.h> | |
36#include <smbsrv/ndl/srvsvc.ndl> 37 38static int wkssvc_s_NetWkstaGetInfo(void *, ndr_xa_t *); 39static int wkssvc_s_NetWkstaTransportEnum(void *, ndr_xa_t *); 40 41static ndr_stub_table_t wkssvc_stub_table[] = { 42 { wkssvc_s_NetWkstaGetInfo, WKSSVC_OPNUM_NetWkstaGetInfo }, 43 { wkssvc_s_NetWkstaTransportEnum, WKSSVC_OPNUM_NetWkstaTransportEnum }, --- 168 unchanged lines hidden --- | 34#include <smbsrv/ndl/srvsvc.ndl> 35 36static int wkssvc_s_NetWkstaGetInfo(void *, ndr_xa_t *); 37static int wkssvc_s_NetWkstaTransportEnum(void *, ndr_xa_t *); 38 39static ndr_stub_table_t wkssvc_stub_table[] = { 40 { wkssvc_s_NetWkstaGetInfo, WKSSVC_OPNUM_NetWkstaGetInfo }, 41 { wkssvc_s_NetWkstaTransportEnum, WKSSVC_OPNUM_NetWkstaTransportEnum }, --- 168 unchanged lines hidden --- |