summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-10-18 06:22:20 +0000
committerTim Potter <tpot@samba.org>2000-10-18 06:22:20 +0000
commitecd90a0bf45d560b4532fe7ce04332b53947fbdc (patch)
tree10fe782c82c89d77c6628c126c8f5d9a3ab48209
parentf0bd621a504082e9b16ff1b5a56c8987e6f94e30 (diff)
downloadsamba-ecd90a0bf45d560b4532fe7ce04332b53947fbdc.tar.gz
samba-ecd90a0bf45d560b4532fe7ce04332b53947fbdc.tar.bz2
samba-ecd90a0bf45d560b4532fe7ce04332b53947fbdc.zip
Renamed WPrintQueuePurge to WPrintQueueCtrl as this function can purge, pause
or resume a print queue. (This used to be commit 9998518a69c67c1540266549c69fca977a89acde)
-rw-r--r--source3/smbd/lanman.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index dafbe2258f..fa6224b596 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -1915,7 +1915,7 @@ static BOOL api_RDosPrintJobDel(connection_struct *conn,uint16 vuid, char *param
/****************************************************************************
Purge a print queue - or pause or resume it.
****************************************************************************/
-static BOOL api_WPrintQueuePurge(connection_struct *conn,uint16 vuid, char *param,char *data,
+static BOOL api_WPrintQueueCtrl(connection_struct *conn,uint16 vuid, char *param,char *data,
int mdrcnt,int mprcnt,
char **rdata,char **rparam,
int *rdata_len,int *rparam_len)
@@ -3210,8 +3210,8 @@ struct
{"NetWkstaGetInfo", 63, api_NetWkstaGetInfo,0},
{"DosPrintQEnum", 69, api_DosPrintQEnum,0},
{"DosPrintQGetInfo", 70, api_DosPrintQGetInfo,0},
- {"WPrintQueuePause", 74, api_WPrintQueuePurge,0},
- {"WPrintQueueResume", 75, api_WPrintQueuePurge,0},
+ {"WPrintQueuePause", 74, api_WPrintQueueCtrl,0},
+ {"WPrintQueueResume", 75, api_WPrintQueueCtrl,0},
{"WPrintJobEnumerate",76, api_WPrintJobEnumerate,0},
{"WPrintJobGetInfo", 77, api_WPrintJobGetInfo,0},
{"RDosPrintJobDel", 81, api_RDosPrintJobDel,0},
@@ -3220,7 +3220,7 @@ struct
{"WPrintDestEnum", 84, api_WPrintDestEnum,0},
{"WPrintDestGetInfo", 85, api_WPrintDestGetInfo,0},
{"NetRemoteTOD", 91, api_NetRemoteTOD,0},
- {"WPrintQueuePurge", 103, api_WPrintQueuePurge,0},
+ {"WPrintQueuePurge", 103, api_WPrintQueueCtrl,0},
{"NetServerEnum", 104, api_RNetServerEnum,0},
{"WAccessGetUserPerms",105, api_WAccessGetUserPerms,0},
{"SetUserPassword", 115, api_SetUserPassword,0},