2011-06-10 17:02:26 +04:00
/*
Unix SMB / CIFS implementation .
routines for marshalling / unmarshalling spoolss subcontext buffer structures
Copyright ( C ) Andrew Tridgell 2003
Copyright ( C ) Tim Potter 2003
Copyright ( C ) Guenther Deschner 2009
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/>.
*/
2008-11-14 23:43:57 +03:00
# ifndef ___SPACE_SRC_SAMBA_SOURCES_SAMBA_GIT_SOURCE3____SOURCE4_LIBRPC_NDR_NDR_SPOOLSS_BUF_H__
# define ___SPACE_SRC_SAMBA_SOURCES_SAMBA_GIT_SOURCE3____SOURCE4_LIBRPC_NDR_NDR_SPOOLSS_BUF_H__
# undef _PRINTF_ATTRIBUTE
# define _PRINTF_ATTRIBUTE(a1, a2) PRINTF_ATTRIBUTE(a1, a2)
/* This file was automatically generated by mkproto.pl. DO NOT EDIT */
/* this file contains prototypes for functions that are private
* to this subsystem or library . These functions should not be
* used outside this particular subsystem ! */
/* The following definitions come from /space/src/samba/SOURCES/samba.git/source3/../source4/librpc/ndr/ndr_spoolss_buf.c */
enum ndr_err_code ndr_push_spoolss_EnumPrinters ( struct ndr_push * ndr , int flags , const struct spoolss_EnumPrinters * r ) ;
enum ndr_err_code ndr_pull_spoolss_EnumPrinters ( struct ndr_pull * ndr , int flags , struct spoolss_EnumPrinters * r ) ;
2010-05-09 19:20:01 +04:00
uint32_t ndr_size_spoolss_EnumPrinters_info ( TALLOC_CTX * mem_ctx , uint32_t level , uint32_t count , union spoolss_PrinterInfo * info ) ;
2008-11-14 23:43:57 +03:00
enum ndr_err_code ndr_push_spoolss_EnumJobs ( struct ndr_push * ndr , int flags , const struct spoolss_EnumJobs * r ) ;
enum ndr_err_code ndr_pull_spoolss_EnumJobs ( struct ndr_pull * ndr , int flags , struct spoolss_EnumJobs * r ) ;
2010-05-09 19:20:01 +04:00
uint32_t ndr_size_spoolss_EnumJobs_info ( TALLOC_CTX * mem_ctx , uint32_t level , uint32_t count , union spoolss_JobInfo * info ) ;
2008-11-14 23:43:57 +03:00
enum ndr_err_code ndr_push_spoolss_EnumPrinterDrivers ( struct ndr_push * ndr , int flags , const struct spoolss_EnumPrinterDrivers * r ) ;
enum ndr_err_code ndr_pull_spoolss_EnumPrinterDrivers ( struct ndr_pull * ndr , int flags , struct spoolss_EnumPrinterDrivers * r ) ;
2010-05-09 19:20:01 +04:00
uint32_t ndr_size_spoolss_EnumPrinterDrivers_info ( TALLOC_CTX * mem_ctx , uint32_t level , uint32_t count , union spoolss_DriverInfo * info ) ;
2008-11-14 23:43:57 +03:00
enum ndr_err_code ndr_push_spoolss_EnumForms ( struct ndr_push * ndr , int flags , const struct spoolss_EnumForms * r ) ;
enum ndr_err_code ndr_pull_spoolss_EnumForms ( struct ndr_pull * ndr , int flags , struct spoolss_EnumForms * r ) ;
2010-05-09 19:20:01 +04:00
uint32_t ndr_size_spoolss_EnumForms_info ( TALLOC_CTX * mem_ctx , uint32_t level , uint32_t count , union spoolss_FormInfo * info ) ;
2008-11-14 23:43:57 +03:00
enum ndr_err_code ndr_push_spoolss_EnumPorts ( struct ndr_push * ndr , int flags , const struct spoolss_EnumPorts * r ) ;
enum ndr_err_code ndr_pull_spoolss_EnumPorts ( struct ndr_pull * ndr , int flags , struct spoolss_EnumPorts * r ) ;
2010-05-09 19:20:01 +04:00
uint32_t ndr_size_spoolss_EnumPorts_info ( TALLOC_CTX * mem_ctx , uint32_t level , uint32_t count , union spoolss_PortInfo * info ) ;
2008-11-14 23:43:57 +03:00
enum ndr_err_code ndr_push_spoolss_EnumMonitors ( struct ndr_push * ndr , int flags , const struct spoolss_EnumMonitors * r ) ;
enum ndr_err_code ndr_pull_spoolss_EnumMonitors ( struct ndr_pull * ndr , int flags , struct spoolss_EnumMonitors * r ) ;
2010-05-09 19:20:01 +04:00
uint32_t ndr_size_spoolss_EnumMonitors_info ( TALLOC_CTX * mem_ctx , uint32_t level , uint32_t count , union spoolss_MonitorInfo * info ) ;
2008-11-14 23:43:57 +03:00
enum ndr_err_code ndr_push_spoolss_EnumPrintProcessors ( struct ndr_push * ndr , int flags , const struct spoolss_EnumPrintProcessors * r ) ;
enum ndr_err_code ndr_pull_spoolss_EnumPrintProcessors ( struct ndr_pull * ndr , int flags , struct spoolss_EnumPrintProcessors * r ) ;
2010-05-09 19:20:01 +04:00
uint32_t ndr_size_spoolss_EnumPrintProcessors_info ( TALLOC_CTX * mem_ctx ,
2009-03-11 03:37:30 +03:00
uint32_t level , uint32_t count , union spoolss_PrintProcessorInfo * info ) ;
2009-03-06 23:49:31 +03:00
enum ndr_err_code ndr_push_spoolss_EnumPrintProcDataTypes ( struct ndr_push * ndr , int flags , const struct spoolss_EnumPrintProcDataTypes * r ) ;
enum ndr_err_code ndr_pull_spoolss_EnumPrintProcDataTypes ( struct ndr_pull * ndr , int flags , struct spoolss_EnumPrintProcDataTypes * r ) ;
2010-05-09 19:20:01 +04:00
uint32_t ndr_size_spoolss_EnumPrintProcDataTypes_info ( TALLOC_CTX * mem_ctx ,
2009-03-06 23:49:31 +03:00
uint32_t level , uint32_t count , union spoolss_PrintProcDataTypesInfo * info ) ;
2009-03-18 02:35:44 +03:00
enum ndr_err_code ndr_push_spoolss_EnumPrinterDataEx ( struct ndr_push * ndr , int flags , const struct spoolss_EnumPrinterDataEx * r ) ;
enum ndr_err_code ndr_pull_spoolss_EnumPrinterDataEx ( struct ndr_pull * ndr , int flags , struct spoolss_EnumPrinterDataEx * r ) ;
2010-05-09 19:20:01 +04:00
uint32_t ndr_size_spoolss_EnumPrinterDataEx_info ( TALLOC_CTX * mem_ctx ,
2009-03-18 13:11:05 +03:00
uint32_t count , struct spoolss_PrinterEnumValues * info ) ;
2010-05-09 19:20:01 +04:00
uint32_t _ndr_size_spoolss_DeviceMode ( struct spoolss_DeviceMode * devmode , uint32_t flags ) ;
size_t ndr_size_spoolss_StringArray ( const struct spoolss_StringArray * r , int flags ) ;
2009-02-24 02:47:32 +03:00
_PUBLIC_ enum ndr_err_code ndr_push_spoolss_DriverInfo101 ( struct ndr_push * ndr , int ndr_flags , const struct spoolss_DriverInfo101 * r ) ;
_PUBLIC_ enum ndr_err_code ndr_pull_spoolss_DriverInfo101 ( struct ndr_pull * ndr , int ndr_flags , struct spoolss_DriverInfo101 * r ) ;
2009-03-18 18:06:40 +03:00
void ndr_print_spoolss_Field ( struct ndr_print * ndr , const char * name , const union spoolss_Field * r ) ;
2010-05-09 19:20:01 +04:00
size_t ndr_size_spoolss_PrinterData ( const union spoolss_PrinterData * r , uint32_t level , int flags ) ;
2010-02-16 04:48:01 +03:00
void ndr_print_spoolss_security_descriptor ( struct ndr_print * ndr , const char * name , const struct security_descriptor * r ) ;
enum ndr_err_code ndr_pull_spoolss_security_descriptor ( struct ndr_pull * ndr , int ndr_flags , struct security_descriptor * r ) ;
enum ndr_err_code ndr_push_spoolss_security_descriptor ( struct ndr_push * ndr , int ndr_flags , const struct security_descriptor * r ) ;
2010-04-22 13:42:45 +04:00
_PUBLIC_ void ndr_print_spoolss_Time ( struct ndr_print * ndr , const char * name , const struct spoolss_Time * r ) ;
2011-02-22 21:23:33 +03:00
_PUBLIC_ uint32_t ndr_spoolss_PrinterEnumValues_align ( enum winreg_Type type ) ;
2009-02-24 02:47:32 +03:00
2008-11-14 23:43:57 +03:00
# undef _PRINTF_ATTRIBUTE
# define _PRINTF_ATTRIBUTE(a1, a2)
# endif /* ___SPACE_SRC_SAMBA_SOURCES_SAMBA_GIT_SOURCE3____SOURCE4_LIBRPC_NDR_NDR_SPOOLSS_BUF_H__ */