Renamed 'printer_name' field in python printer info to 'name' to be
authorTim Potter <tpot@samba.org>
Thu, 16 May 2002 05:25:53 +0000 (05:25 +0000)
committerTim Potter <tpot@samba.org>
Thu, 16 May 2002 05:25:53 +0000 (05:25 +0000)
more consistent.

source/python/py_spoolss_printers_conv.c

index b20382922cc4f2f0a0491f7c283383624f903c33..676e21e99ea387f706dad80fd964d976e5b5af8c 100644 (file)
@@ -22,7 +22,7 @@
 #include "python/py_conv.h"
 
 struct pyconv py_PRINTER_INFO_0[] = {
-       { "printer_name", PY_UNISTR, offsetof(PRINTER_INFO_0, printername) },
+       { "name", PY_UNISTR, offsetof(PRINTER_INFO_0, printername) },
        { "server_name", PY_UNISTR, offsetof(PRINTER_INFO_0, servername) },
 
        { "cjobs", PY_UINT32, offsetof(PRINTER_INFO_0, cjobs) },
@@ -72,7 +72,7 @@ struct pyconv py_PRINTER_INFO_0[] = {
 };     
 
 struct pyconv py_PRINTER_INFO_1[] = {
-       { "printer_name", PY_UNISTR, offsetof(PRINTER_INFO_1, name) },
+       { "name", PY_UNISTR, offsetof(PRINTER_INFO_1, name) },
        { "description", PY_UNISTR, offsetof(PRINTER_INFO_1, description) },
        { "comment", PY_UNISTR, offsetof(PRINTER_INFO_1, comment) },
        { "flags", PY_UINT32, offsetof(PRINTER_INFO_1, flags) },
@@ -81,7 +81,7 @@ struct pyconv py_PRINTER_INFO_1[] = {
 
 struct pyconv py_PRINTER_INFO_2[] = {
        { "server_name", PY_UNISTR, offsetof(PRINTER_INFO_2, servername) },
-       { "printer_name", PY_UNISTR, offsetof(PRINTER_INFO_2, printername) },
+       { "name", PY_UNISTR, offsetof(PRINTER_INFO_2, printername) },
        { "share_name", PY_UNISTR, offsetof(PRINTER_INFO_2, sharename) },
        { "port_name", PY_UNISTR, offsetof(PRINTER_INFO_2, portname) },
        { "driver_name", PY_UNISTR, offsetof(PRINTER_INFO_2, drivername) },