~ubuntu-branches/ubuntu/trusty/uucp/trusty

« back to all changes in this revision

Viewing changes to uuconf/hport.c

  • Committer: Bazaar Package Importer
  • Author(s): Peter Palfrader
  • Date: 2004-12-30 15:30:22 UTC
  • mfrom: (2.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20041230153022-mx4cdr9j3u9bldo3
Tags: 1.07-12
Add cs localisation for debconf templates (closes: #287305).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* hport.c
2
2
   Find a port in the HDB configuration files.
3
3
 
4
 
   Copyright (C) 1992, 1993 Ian Lance Taylor
 
4
   Copyright (C) 1992, 1993, 2002 Ian Lance Taylor
5
5
 
6
6
   This file is part of the Taylor UUCP uuconf library.
7
7
 
17
17
 
18
18
   You should have received a copy of the GNU Library General Public
19
19
   License along with this library; if not, write to the Free Software
20
 
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
20
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307, USA.
21
21
 
22
 
   The author of the program may be contacted at ian@airs.com or
23
 
   c/o Cygnus Support, 48 Grove Street, Somerville, MA 02144.
 
22
   The author of the program may be contacted at ian@airs.com.
24
23
   */
25
24
 
26
25
#include "uucnfi.h"
27
26
 
28
27
#if USE_RCS_ID
29
 
const char _uuconf_hport_rcsid[] = "$Id: hport.c,v 1.14 1995/06/21 19:22:58 ian Rel $";
 
28
const char _uuconf_hport_rcsid[] = "$Id: hport.c,v 1.18 2002/03/05 19:10:42 ian Rel $";
30
29
#endif
31
30
 
32
31
#include <errno.h>
40
39
     pointer pglobal;
41
40
     const char *zname;
42
41
     long ibaud;
43
 
     long ihighbaud;
 
42
     long ihighbaud ATTRIBUTE_UNUSED;
44
43
     int (*pifn) P((struct uuconf_port *, pointer));
45
44
     pointer pinfo;
46
45
     struct uuconf_port *qport;
217
216
                   | UUCONF_RELIABLE_EIGHT | UUCONF_RELIABLE_FULLDUPLEX
218
217
                   | UUCONF_RELIABLE_SPECIFIED);
219
218
              qport->uuconf_u.uuconf_stcp.uuconf_zport = pzsplit[1];
 
219
              qport->uuconf_u.uuconf_stcp.uuconf_iversion = 0;
220
220
              ppzdialer = &qport->uuconf_u.uuconf_stcp.uuconf_pzdialer;
221
221
            }
222
222
          else if (ctoks >= 5