Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/include/printing.h

    r414 r745  
    2626*/
    2727
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
     46
     47
     48
     49
     50
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
     64
     65
     66
     67
    2868/* Information for print jobs */
    2969struct printjob {
     
    4080        fstring jobname; /* the job name given to us by the client */
    4181        fstring user; /* the user who started the job */
     82
    4283        fstring queuename; /* service number of printer for this job */
    43         NT_DEVICEMODE *nt_devmode;
     84        devmode;
    4485};
    4586
     
    83124#define PRINT_SPOOL_PREFIX "smbprn."
    84125#endif
    85 #define PRINT_DATABASE_VERSION 5
     126#define PRINT_DATABASE_VERSION 7
     127
     128#ifdef AIX
     129#define DEFAULT_PRINTING PRINT_AIX
     130#define PRINTCAP_NAME "/etc/qconfig"
     131#endif
     132
     133#ifdef HPUX
     134#define DEFAULT_PRINTING PRINT_HPUX
     135#endif
     136
     137#ifdef QNX
     138#define DEFAULT_PRINTING PRINT_QNX
     139#endif
     140
     141#ifndef DEFAULT_PRINTING
     142#ifdef HAVE_CUPS
     143#define DEFAULT_PRINTING PRINT_CUPS
     144#define PRINTCAP_NAME "cups"
     145#elif defined(SYSV)
     146#define DEFAULT_PRINTING PRINT_SYSV
     147#define PRINTCAP_NAME "lpstat"
     148#else
     149#define DEFAULT_PRINTING PRINT_BSD
     150#define PRINTCAP_NAME "/etc/printcap"
     151#endif
     152#endif
     153
     154#ifndef PRINTCAP_NAME
     155#define PRINTCAP_NAME "/etc/printcap"
     156#endif
    86157
    87158/* There can be this many printing tdb's open, plus any locked ones. */
    88159#define MAX_PRINT_DBS_OPEN 1
    89160
     161
     162
     163
    90164struct tdb_print_db {
    91165        struct tdb_print_db *next, *prev;
    92         TDB_CONTEXT *tdb;
     166        *tdb;
    93167        int ref_count;
    94168        fstring printer_name;
     
    101175#define NOTIFY_PID_LIST_KEY "NOTIFY_PID_LIST"
    102176
     177
     178
     179
     180
     181
     182
     183
     184
     185
     186
     187
     188
     189
     190
     191
     192
     193
     194
     195
     196
     197
     198
     199
     200
     201
     202
     203
     204
     205
     206
     207
     208
     209
     210
     211
     212
     213
     214
     215
     216
     217
     218
     219
     220
     221
     222
     223
     224
     225
     226
     227
     228
     229
     230
     231
     232
     233
     234
     235
     236
     237
     238
     239
     240
     241
     242
     243
     244
     245
     246
     247
     248
     249
     250
     251
     252
     253
     254
     255
     256
     257
     258
     259
     260
     261
    103262#endif /* PRINTING_H_ */
Note: See TracChangeset for help on using the changeset viewer.