2 * Printing backend for the build farm
4 * Copyright (C) Volker Lendecke 2006
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 #if defined(DEVELOPER) || defined(ENABLE_BUILD_FARM_HACKS)
26 static int test_queue_get(const char *printer_name,
27 enum printing_types printing_type,
29 print_queue_struct **q,
30 print_status_struct *status)
35 static int test_queue_pause(int snum)
40 static int test_queue_resume(int snum)
45 static int test_job_delete(const char *sharename, const char *lprm_command,
46 struct printjob *pjob)
51 static int test_job_pause(int snum, struct printjob *pjob)
56 static int test_job_resume(int snum, struct printjob *pjob)
61 static int test_job_submit(int snum, struct printjob *pjob)
66 struct printif test_printif =
79 /* this keeps fussy compilers happy */
80 void print_test_dummy(void);
81 void print_test_dummy(void) {}
82 #endif /* DEVELOPER||ENABLE_BUILD_FARM_HACKS */