diff options
author | Jean-François Micouleau <jfm@samba.org> | 2000-03-10 17:12:24 +0000 |
---|---|---|
committer | Jean-François Micouleau <jfm@samba.org> | 2000-03-10 17:12:24 +0000 |
commit | e0ebb76a7453c07c16e8f736233226a774ab58e8 (patch) | |
tree | 4fd3de938678780c5c443e68ebb0e258b1ca9447 /source3/include/nt_printing.h | |
parent | 115d98e639b94fdd0773bfb9516af14d857c59d2 (diff) | |
download | samba-e0ebb76a7453c07c16e8f736233226a774ab58e8.tar.gz samba-e0ebb76a7453c07c16e8f736233226a774ab58e8.tar.bz2 samba-e0ebb76a7453c07c16e8f736233226a774ab58e8.zip |
getprinter level 0: was to short, found most of the fields, undocumented,
undecoded, nothing in MSDN, but now it works :-)
cleanup of error codes.
fixed some dfs declarations function.
J.F.
(This used to be commit 87da4404aba29a2ebd999886e4c06958c96d3e05)
Diffstat (limited to 'source3/include/nt_printing.h')
-rw-r--r-- | source3/include/nt_printing.h | 26 |
1 files changed, 25 insertions, 1 deletions
diff --git a/source3/include/nt_printing.h b/source3/include/nt_printing.h index 99a427c32d..7d4c4e9dd5 100644 --- a/source3/include/nt_printing.h +++ b/source3/include/nt_printing.h @@ -1,3 +1,25 @@ +/* + Unix SMB/Netbios implementation. + Version 1.9. + SMB parameters and setup + Copyright (C) Andrew Tridgell 1992-2000, + Copyright (C) Jean Francois Micouleau 1998-2000. + + 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 2 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, write to the Free Software + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +*/ + #ifndef NT_PRINTING_H_ #define NT_PRINTING_H_ @@ -195,7 +217,6 @@ typedef struct nt_printer_info_level_2 fstring sharename; fstring portname; fstring drivername; - fstring comment; fstring location; NT_DEVICEMODE *devmode; fstring sepfile; @@ -205,6 +226,9 @@ typedef struct nt_printer_info_level_2 NT_PRINTER_PARAM *specific; /* SEC_DESC_BUF *secdesc; */ /* not used but ... and how ??? */ + uint32 changeid; + uint32 c_setprinter; + time_t setuptime; } NT_PRINTER_INFO_LEVEL_2; typedef struct nt_printer_info_level |