関数 | |
static WERROR | spoolss_stop (const char *service, SERVICE_STATUS *service_status) |
static WERROR | spoolss_start (const char *service) |
static WERROR | spoolss_status (const char *service, SERVICE_STATUS *service_status) |
変数 | |
SERVICE_CONTROL_OPS | spoolss_svc_ops |
static WERROR spoolss_stop | ( | const char * | service, | |
SERVICE_STATUS * | service_status | |||
) | [static] |
svc_spoolss.c の 28 行で定義されています。
参照先 SERVICE_STATUS::controls_accepted・SERVICE_STATUS::state・SERVICE_STATUS::type.
00029 { 00030 ZERO_STRUCTP( service_status ); 00031 00032 lp_set_spoolss_state( SVCCTL_STOPPED ); 00033 00034 service_status->type = 0x110; 00035 service_status->state = SVCCTL_STOPPED; 00036 service_status->controls_accepted = SVCCTL_ACCEPT_STOP; 00037 00038 DEBUG(6,("spoolss_stop: spooler stopped (not really)\n")); 00039 00040 return WERR_OK; 00041 }
static WERROR spoolss_start | ( | const char * | service | ) | [static] |
svc_spoolss.c の 46 行で定義されています。
00047 { 00048 /* see if the smb.conf will support this anyways */ 00049 00050 if ( _lp_disable_spoolss() ) 00051 return WERR_ACCESS_DENIED; 00052 00053 lp_set_spoolss_state( SVCCTL_RUNNING ); 00054 00055 return WERR_OK; 00056 }
static WERROR spoolss_status | ( | const char * | service, | |
SERVICE_STATUS * | service_status | |||
) | [static] |
svc_spoolss.c の 61 行で定義されています。
参照先 SERVICE_STATUS::controls_accepted・SERVICE_STATUS::state・SERVICE_STATUS::type.
00062 { 00063 ZERO_STRUCTP( service_status ); 00064 00065 service_status->type = 0x110; 00066 service_status->state = lp_get_spoolss_state(); 00067 service_status->controls_accepted = SVCCTL_ACCEPT_STOP; 00068 00069 return WERR_OK; 00070 }
初期値:
svc_spoolss.c の 77 行で定義されています。