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, see <http://www.gnu.org/licenses/>.
23 #if defined(DEVELOPER) || defined(ENABLE_BUILD_FARM_HACKS)
25 static int test_queue_get(const char *printer_name,
26 enum printing_types printing_type,
28 print_queue_struct **q,
29 print_status_struct *status)
34 static int test_queue_pause(int snum)
39 static int test_queue_resume(int snum)
44 static int test_job_delete(const char *sharename, const char *lprm_command,
45 struct printjob *pjob)
50 static int test_job_pause(int snum, struct printjob *pjob)
55 static int test_job_resume(int snum, struct printjob *pjob)
60 static int test_job_submit(int snum, struct printjob *pjob)
65 struct printif test_printif =
78 /* this keeps fussy compilers happy */
79 void print_test_dummy(void);
80 void print_test_dummy(void) {}
81 #endif /* DEVELOPER||ENABLE_BUILD_FARM_HACKS */