2 * "$Id: phpcups.h 6649 2007-07-11 21:46:42Z mike $"
4 * PHP module include file for CUPS.
6 * Copyright 2007-2011 by Apple Inc.
7 * Copyright 1997-2006 by Easy Software Products.
9 * These coded instructions, statements, and computer programs are the
10 * property of Apple Inc. and are protected by Federal copyright
11 * law. Distribution and use rights are outlined in the file "LICENSE.txt"
12 * which should have been included with this file. If this file is
13 * file is missing or damaged, see the license at "http://www.cups.org/".
20 * Include necessary headers...
23 # include <cups/cups.h>
24 # include <cups/language.h>
25 # include <cups/debug-private.h>
27 # include <sys/stat.h>
28 # if defined(WIN32) || defined(__EMX__)
32 # endif /* WIN32 || __EMX__ */
39 extern zend_module_entry phpcups_module_entry
;
40 # define phpext_phpcups_ptr &phpcups_module_entry
43 # define PHP_PHPCUPS_API __declspec(dllexport)
45 # define PHP_PHPCUPS_API
52 PHP_MINIT_FUNCTION(phpcups
);
54 PHP_FUNCTION(cups_cancel_job
);
55 PHP_FUNCTION(cups_get_dests
);
56 PHP_FUNCTION(cups_get_jobs
);
57 PHP_FUNCTION(cups_last_error
);
58 PHP_FUNCTION(cups_last_error_string
);
59 PHP_FUNCTION(cups_print_file
);
60 PHP_FUNCTION(cups_print_files
);
62 #endif /* !PHPCUPS_H */
66 * End of "$Id: phpcups.h 6649 2007-07-11 21:46:42Z mike $".