1/*
2 * This program is free software; you can redistribute it and/or
3 * modify it under the terms of the GNU General Public License as
4 * published by the Free Software Foundation; either version 2 of
5 * the License, or (at your option) any later version.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
10 * GNU General Public License for more details.
11 *
12 * You should have received a copy of the GNU General Public License
13 * along with this program; if not, write to the Free Software
14 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
15 * MA 02111-1307 USA
16 */
17/***************************************************************************
18 * LPRng - An Extended Print Spooler System
19 *
20 * Copyright 1988-2003, Patrick Powell, San Diego, CA
21 *     papowell@lprng.com
22 * See LICENSE for conditions of use.
23 * $Id: sendauth.h,v 1.1.1.1 2008/10/15 03:28:27 james26_jang Exp $
24 ***************************************************************************/
25
26
27
28#ifndef _SENDAUTH_H_
29#define _SENDAUTH_H_ 1
30
31/* PROTOTYPES */
32int Send_auth_transfer( int *sock, int transfer_timeout,
33	struct job *job, struct job *logjob, char *error, int errlen, char *cmd,
34	struct security *security, struct line_list *info );
35struct security *Fix_send_auth( char *name, struct line_list *info,
36	struct job *job, char *error, int errlen );
37void Put_in_auth( int tempfd, const char *key, char *value );
38
39#endif
40