summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-16 05:25:53 +0000
committerTim Potter <tpot@samba.org>2002-05-16 05:25:53 +0000
commitc2f5c02e2817dac00b7d03060e4403a4de1e9898 (patch)
tree6dd9d3858bd83ad99cf04287dc229e395fe08d47 /source3/python
parent9ad364acdb141c03c9ce3c0b85652b9defa8df58 (diff)
downloadsamba-c2f5c02e2817dac00b7d03060e4403a4de1e9898.tar.gz
samba-c2f5c02e2817dac00b7d03060e4403a4de1e9898.tar.bz2
samba-c2f5c02e2817dac00b7d03060e4403a4de1e9898.zip
Renamed 'printer_name' field in python printer info to 'name' to be
more consistent. (This used to be commit f8c198b74899d1be1725d0647c5f0cd7db870340)
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_spoolss_printers_conv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/python/py_spoolss_printers_conv.c b/source3/python/py_spoolss_printers_conv.c
index b20382922c..676e21e99e 100644
--- a/source3/python/py_spoolss_printers_conv.c
+++ b/source3/python/py_spoolss_printers_conv.c
@@ -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) },