1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-05 09:18:06 +03:00
samba-mirror/source3/printing/rap_jobid.h
Volker Lendecke e338d4fab4 printing: Move rap2jobid functions to their own file
This will make it easier to split out the spoolss functions later

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2021-03-16 17:09:31 +00:00

30 lines
1004 B
C

/*
* Maintain rap vs spoolss jobids
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, see <http://www.gnu.org/licenses/>.
*/
#ifndef __PRINTING_RAP_JOBID_H__
#define __PRINTING_RAP_JOBID_H__
#include "includes.h"
uint16_t pjobid_to_rap(const char *sharename, uint32_t jobid);
bool rap_to_pjobid(
uint16_t rap_jobid, fstring sharename, uint32_t *pjobid);
void rap_jobid_delete(const char *sharename, uint32_t jobid);
#endif