r7603: * fix a bug in the SERVICE_ALL_ACCESS security mask
[Samba/gbeck.git] / source / services / svc_spoolss.c
blobbd2f7173f1943cf173673682f583d446fe411bdc
1 /*
2 * Unix SMB/CIFS implementation.
3 * Service Control API Implementation
4 * Copyright (C) Gerald Carter 2005.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 #include "includes.h"
23 /* Implementation for internal spoolss service */
25 /*********************************************************************
26 *********************************************************************/
28 static WERROR spoolss_stop( SERVICE_STATUS *service_status )
30 return WERR_OK;
33 /*********************************************************************
34 *********************************************************************/
36 static WERROR spoolss_start( void )
38 return WERR_OK;
41 /*********************************************************************
42 *********************************************************************/
44 static WERROR spoolss_status( SERVICE_STATUS *service_status )
46 return WERR_OK;
49 /*********************************************************************
50 *********************************************************************/
52 /* struct for svcctl control to manipulate spoolss service */
54 SERVICE_CONTROL_OPS spoolss_svc_ops = {
55 spoolss_stop,
56 spoolss_start,
57 spoolss_status