diff options
author | Richard Sharpe <sharpe@samba.org> | 2001-02-04 19:48:26 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2001-02-04 19:48:26 +0000 |
commit | 2fd7e6e6a0d1b22d841d49c4fc0868c0be471475 (patch) | |
tree | 61fbee85f9df3da67198f359f4dccc5555c4551a /source3/include | |
parent | deb638a7aca9b52ce11ce27c8107f6d189b40f38 (diff) | |
download | samba-2fd7e6e6a0d1b22d841d49c4fc0868c0be471475.tar.gz samba-2fd7e6e6a0d1b22d841d49c4fc0868c0be471475.tar.bz2 samba-2fd7e6e6a0d1b22d841d49c4fc0868c0be471475.zip |
Fix some further small bugs in libsmbclient to make it pass the
Caldera test suite and start to add the printing routines.
(This used to be commit 838cfad404ef648ee7909f449264afa4db60fa3b)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/libsmbclient.h | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/source3/include/libsmbclient.h b/source3/include/libsmbclient.h index 5889502ae2..a02c0e5317 100644 --- a/source3/include/libsmbclient.h +++ b/source3/include/libsmbclient.h @@ -192,7 +192,29 @@ off_t smbc_telldir(int fd); int smbc_lseekdir(int fd, off_t offset, int whence); /* - * Must also provide print functions ... soon + * Print a file given the name in fname. It would be a URL ... */ +int smbc_print_file(const char *fname); + +/* + * Open a print file that can be written to by other calls. This simply + * does an smbc_open call after checking if there is a file name on the + * URI. If not, a temporary name is added ... + */ + +int smbc_open_print_job(const char *fname); + +/* + * List the print jobs on a print share, for the moment, pass a callback + */ + +int smbc_list_print_jobs(const char *fname, void (*fn)(struct print_job_info *)); + +/* + * Delete a print job + */ + +int smbc_unlink_print_job(int id); + #endif |