BAN-AI-Communications/k95-mingw

View on GitHub
k95source/ckuus3.c

Summary

Maintainability
Test Coverage
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHTEST
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHTEST */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckcsym.h" /* Symbol definitions */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* C K U U S 3 -- "User Interface" for C-Kermit, part 3 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Authors:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Frank da Cruz <fdc@columbia.edu>,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
The Kermit Project, Columbia University, New York City
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Jeffrey E Altman <jaltman@secure-endpoints.com>
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Secure Endpoints Inc., New York City
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Copyright (C) 1985, 2005,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Trustees of Columbia University in the City of New York.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
All rights reserved. See the C-Kermit COPYING.TXT file or the
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
copyright text in the ckcmai.c module for disclaimer and permissions.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* SET command (but much material has been split off into ckuus7.c). */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Kermit-specific includes.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Definitions here supersede those from system include files.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckcdeb.h" /* Debugging & compiler things */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckcasc.h" /* ASCII character symbols */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckcker.h" /* Kermit application definitions */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckcxla.h" /* Character set translation */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckcnet.h" /* Network symbols */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char pwbuf[PWBUFL+1] = { NUL, NUL };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int pwflg = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int pwcrypt = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOICP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTHENTICATION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckuath.h"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ck_ssl.h"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckuusr.h" /* User interface symbols */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckcuni.h"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckossh.h"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NETBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include <os2.h>
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT /* Would you believe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#undef COMMENT /* <os2.h> defines this ? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckonbi.h"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern UCHAR NetBiosAdapter;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NETBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckocon.h"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckokey.h"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOTERM
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern unsigned char colorcmd; /* Command-screen colors */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab ttyclrtab[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int nclrs;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tt_cols[], tt_rows[], tt_szchng[], tt_status[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOTERM */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP(int setprty, (void));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char startupdir[], exedir[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tt_modechg;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include <windows.h>
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include <tapi.h>
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ckntap.h" /* Microsoft TAPI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * exedir;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RECALL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int cm_retry;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RECALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int cmdint;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int srvidl;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern CKFLOAT floatval; /* (see isfloat()) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOPUSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOFRILLS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char editor[CKMAXPATH + 1] = "edit";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char editor[CKMAXPATH + 1] = { NUL, NUL };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char editopts[128] = { NUL, NUL };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char editfile[CKMAXPATH + 1] = { NUL, NUL };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BROWSER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char browser[CKMAXPATH + 1] = { NUL, NUL };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char browsopts[128] = { NUL, NUL };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char browsurl[4096] = { NUL, NUL };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BROWSER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOFRILLS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOPUSH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Variables */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int cmd_quoting = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int hints, xcmdsrc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_KERBEROS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * k4pwprompt = NULL; /* Kerberos 4 password prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * k4prprompt = NULL; /* Kerberos 4 principal prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * k5pwprompt = NULL; /* Kerberos 5 password prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * k5prprompt = NULL; /* Kerberos 5 principal prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_KERBEROS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SRP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * srppwprompt = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SRP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * ckprompt, * ikprompt; /* Default prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern xx_strp xxstring;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * cdmsgfile[], * cdmsgstr;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
local, server, success, dest, sleepcan, inserver, flow, autoflow, binary,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
parity, escape, what, turn, duplex, backgrd, hwparity, stopbits, turnch,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mdmtyp, network, quiet, nettype, carrier, debses, debtim, cdtimo, nlangs,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
bgset, pflag, msgflg, cmdmsk, xsuspend, techo, pacing, xitwarn, xitsta,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
outesc, cmd_cols, cmd_rows, ckxech, xaskmore, haveline, didsetlin, isguest,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mdmsav, clearrq, saveask;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int reliable, setreliable, matchdot, matchfifo, dir_dots;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSERVER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int en_pri;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSERVER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int iksdcf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TCPSOCKET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tn_exit;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TCPSOCKET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TNCODE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * tn_pr_uid = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TNCODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int exitonclose;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOKVERBS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int nkverbs;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab kverbs[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOKVERBS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ttnproto; /* Network protocol */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *ccntab[]; /* Names of control chars */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_APC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int apcactive, apcstatus;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_APC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSCRIPT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int secho; /* Whether SCRIPT cmd should echo */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSCRIPT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DCMDBUF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *atmbuf, *atxbuf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char atmbuf[], atxbuf[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DCMDBUF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int cmflgs;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char psave[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char uidbuf[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sl_uid_saved;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int DeleteStartupFile = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int cmdlvl; /* Overall command level */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP( static int parsdir, (int) );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char prmbuf[PWBUFL+1] = { NUL, NUL };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int fndiags = 1; /* Function diagnostics on/off */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int fnerror = 1; /* Function error treatment */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DCMDBUF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int *count, *takerr, *merror, *inpcas;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int count[], takerr[], merror[], inpcas[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DCMDBUF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int mecho; /* Macro echo */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern long ck_alarm;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char alrm_date[], alrm_time[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int takerr[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int x_ifnum;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int bigsbsiz, bigrbsiz; /* Packet buffers */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern long speed; /* Terminal speed */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char ttname[]; /* Communication device name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char myhost[] ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char inidir[]; /* Ini File directory */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSETKEY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern KEY *keymap; /* Character map for SET KEY (1:1) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern MACRO *macrotab; /* Macro map for SET KEY (1:string) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSETKEY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int wideresult; /* For wide OS/2 scan codes/cmnum() */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tt_scrsize[]; /* Scrollback buffer Sizes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Printer settings */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * printername; /* NULL if printer not redirected */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int printpipe;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int noprinter;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PRINTSWI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int printtimo = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * printterm = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * printsep = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int printertype = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPRINT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int printbidi = 0; /* SET BPRINTER (bidirectional) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long pportspeed = 0L; /* Bidirection printer port speed, */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int pportparity = 0; /* parity, */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int pportflow = FLO_KEEP; /* and flow control */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPRINT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int txt2ps; /* Text2PS conversion? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ps_width, ps_length; /* Text2PS dimensions */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PRINTSWI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tcp_avail; /* Nonzero if TCP/IP is available */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DECNET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int dnet_avail; /* Ditto for DECnet */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DECNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SUPERLAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int slat_avail;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SUPERLAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab logintab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "password", LOGI_PSW, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "prompt", LOGI_PRM, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "userid", LOGI_UID, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCSETS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* system-independent character sets, defined in ckcxla.[ch] */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct csinfo tcsinfo[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct langinfo langs[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Other character-set related variables */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tcharset, tslevel, language;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCSETS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* File-transfer variable declarations */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTODL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int cmdadl;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTODL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSERVER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ngetpath;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * getpath[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSERVER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct ck_p ptab[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern CHAR sstate; /* Protocol start state */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern CHAR myctlq; /* Control-character prefix */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern CHAR myrptq; /* Repeat-count prefix */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int protocol, size, spsiz, spmax, urpsiz, srvtim, srvcdmsg, slostart,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
srvdis, xfermode, ckdelay, keep, maxtry, unkcs, bctr, ebqflg, swcapr,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
wslotr, lscapr, lscapu, spsizr, rptena, rptmin, docrc, xfrcan, xfrchr,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xfrnum, xfrbel, xfrint, srvping, g_xfermode, xfrxla;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PIPESEND
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int usepipes;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PIPESEND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKXXCHAR /* DOUBLE / IGNORE char table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int dblflag, ignflag, dblchar;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern short dblt[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKXXCHAR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SPEED
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern short ctlp[]; /* Control-prefix table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int prefixing;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab pfxtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"all", PX_ALL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cautious", PX_CAU, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"minimal", PX_WIL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none", PX_NON, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SPEED */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Declarations from cmd package */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DCMDBUF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *cmdbuf; /* Command buffer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *tmpbuf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char cmdbuf[]; /* Command buffer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char line[]; /* Character buffer for anything */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char tmpbuf[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DCMDBUF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* From main ckuser module... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *tp, *lp; /* Temporary buffer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tlevel; /* Take Command file level */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sessft; /* Session-log file type */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int slogts; /* Session-log timestamps on/off */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * tempdir = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int vms_msgs = 1; /* SET MESSAGES */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int batch;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Keyword tables for SET commands */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SPEED
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab ctltab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"prefixed", 1, 0, /* Note, the values are important. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"unprefixed", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SPEED */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab oldnew[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"new", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"old", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define MCH_FIFO 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define MCH_DOTF 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab matchtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "dotfile", MCH_DOTF, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "fifo", MCH_FIFO, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nmatchtab = (sizeof(matchtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab functab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"diagnostics", FUNC_DI, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"error", FUNC_ER, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nfunctab = (sizeof(functab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab outptab[] = { /* SET OUTPUT parameters */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pacing", 0, 0, /* only one so far... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"special-escapes", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int noutptab = (sizeof(outptab) / sizeof(struct keytab)); /* How many */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab chktab[] = { /* Block check types */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"1", 1, 0, /* 1 = 6-bit checksum */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"2", 2, 0, /* 2 = 12-bit checksum */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"3", 3, 0, /* 3 = 16-bit CRC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"4", 4, CM_INV, /* Same as B */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"blank-free-2", 4, 0 /* B = 12-bit checksum, no blanks */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab rpttab[] = { /* SET REPEAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"counts", 0, 0, /* On or Off */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"minimum", 1, 0, /* Threshhold */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"prefix", 2, 0 /* Repeat-prefix character value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* For SET [ MODEM ] CARRIER, and also for SET DIAL CONNECT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab crrtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"automatic", CAR_AUT, 0, /* 2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", CAR_OFF, 0, /* 0 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", CAR_ON, 0 /* 1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ncrr = 3;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab ooatab[] = { /* On/Off/Auto table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"automatic", SET_AUTO, 0, /* 2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", SET_OFF, 0, /* 0 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", SET_ON, 0 /* 1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab ooktab[] = { /* On/Off/Ask table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ask", 2, 0, /* 2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", SET_OFF, 0, /* 0 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", SET_ON, 0 /* 1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab qvtab[] = { /* Quiet/Verbose table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"quiet", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"verbose", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nqvt = 2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* For SET DEBUG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define DEB_OFF 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define DEB_ON 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define DEB_SES 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define DEB_TIM 3
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define DEB_LEN 4
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab dbgtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"linelength", DEB_LEN, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", DEB_OFF, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", DEB_ON, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"session", DEB_SES, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"timestamps", DEB_TIM, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ndbg = (sizeof(dbgtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Transmission speeds */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TTSPDLIST /* Speed table constructed at runtime . . . */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab * spdtab = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nspd = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Note, the values are encoded in cps rather than bps because 19200 and higher
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
are too big for some ints. All but 75bps are multiples of ten. Result of
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
lookup in this table must be multiplied by 10 to get actual speed in bps.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
If this number is 70, it must be changed to 75. If it is 888, this means
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
75/1200 split speed.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
The values are generic, rather than specific to UNIX. We can't use B75,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
B1200, B9600, etc, because non-UNIX versions of C-Kermit will not
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
necessarily have these symbols defined. The BPS_xxx symbols are
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Kermit-specific, and are defined in ckcdeb.h or on the CC command line.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Like all other keytabs, this one must be in "alphabetical" order,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rather than numeric order.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab spdtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"0", 0, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"110", 11, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_115K
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"115200",11520, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_115K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"1200", 120, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_134
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"134.5", 134, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_134 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_14K
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"14400", 1440, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_14K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_150
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"150", 15, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_150 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_1800
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"1800", 180, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_150 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_19K
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"19200", 1920, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_19K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_200
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"200", 20, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_200 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_230K
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"230400", 23040, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_230K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"2400", 240, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_28K
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"28800", 2880, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_28K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"300", 30, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_3600
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"3600", 360, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_3600 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_38K
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"38400", 3840, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_38K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_460K
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"460800", 46080, 0, /* Need 32 bits for this... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_460K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"4800", 480, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_50
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"50", 5, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_50 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_57K
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"57600", 5760, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_57K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"600", 60, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_7200
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"7200", 720, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_7200 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_75
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"75", 7, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_75 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_7512
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"75/1200",888, 0, /* Code "888" for split speed */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_7512 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_76K
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"76800", 7680, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_76K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPS_921K
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"921600", 92160,0, /* Need 32 bits for this... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPS_921K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"9600", 960, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nspd = (sizeof(spdtab) / sizeof(struct keytab)); /* How many speeds */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TTSPDLIST */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab tnspdtab[] = { /* RFC 2217 TELNET COMPORT Option */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"115200", 11520, 0, /* (add any other defined speeds) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"1200", 120, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"14400", 1440, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"19200", 1920, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"230400", 23040, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"2400", 240, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"28800", 2880, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"300", 30, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"38400", 3840, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"460800", 46080, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"4800", 480, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"57600", 5760, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"600", 60, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"9600", 960, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ntnspd = (sizeof(tnspdtab) / sizeof(struct keytab)); /* How many speeds */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCSETS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab lngtab[]; /* Languages for SET LANGUAGE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int nlng;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCSETS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Duplex keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab dpxtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"full", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"half", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Flow Control */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab cxtypesw[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DECNET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/decnet", CXT_DECNET, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DECNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/direct-serial", CXT_DIRECT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DECNET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/lat", CXT_LAT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SUPERLAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/lat", CXT_LAT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SUPERLAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DECNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/modem", CXT_MODEM, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NPIPE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/named-pipe", CXT_NPIPE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NPIPE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/netbios", CXT_NETBIOS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/remote", CXT_REMOTE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TCPSOCKET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/tcpip", CXT_TCPIP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TCPSOCKET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef ANYX25
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/x.25", CXT_X25, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ANYX25 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ncxtypesw = (sizeof(cxtypesw) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab tnflotab[] = { /* SET FLOW-CONTROL keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dtr/cd", FLO_DTRC, 0, /* for RFC 2217 Telnet COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dtr/cts", FLO_DTRT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"keep", FLO_KEEP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none", FLO_NONE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"rts/cts", FLO_RTSC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xon/xoff", FLO_XONX, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ntnflo = (sizeof(tnflotab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab flotab[] = { /* SET FLOW-CONTROL keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"automatic", FLO_AUTO, CM_INV, /* Not needed any more */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_DTRCD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dtr/cd", FLO_DTRC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_DTRCD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_DTRCTS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dtr/cts", FLO_DTRT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_DTRCTS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"keep", FLO_KEEP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none", FLO_NONE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RTSCTS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"rts/cts", FLO_RTSC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RTSCTS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef Plan9
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xon/xoff", FLO_XONX, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* Plan9 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nflo = (sizeof(flotab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Handshake characters */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab hshtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"bell", 007, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"code", 998, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cr", 015, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"esc", 033, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"lf", 012, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none", 999, 0, /* (can't use negative numbers) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xoff", 023, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xon", 021, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nhsh = (sizeof(hshtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab sfttab[] = { /* File types for SET SESSION-LOG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ascii", XYFT_T, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary", XYFT_B, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"debug", XYFT_D, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"text", XYFT_T, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"timestamped-text", 999, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsfttab = (sizeof(sfttab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NODIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCONN /* Networks directory depends */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nnetdir = 0; /* on DIAL code -- fix later... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *netdir[MAXDDIR+2];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCONN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP( static int setdial, (int) );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP( static int setdcd, (void) );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP( static int cklogin, (void) );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef MINIDIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OLDTBCODE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tbmodel; /* Telebit model ID */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OLDTBCODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* MINIDIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern MDMINF *modemp[]; /* Pointers to modem info structs */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab mdmtab[]; /* Modem types (in module ckudia.c) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int nmdm; /* Number of them */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP(static int dialstr,(char **, char *));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int dialhng, dialtmo, dialksp, dialdpy, dialmhu, dialec, dialdc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int dialrtr, dialint, dialudt, dialsrt, dialrstr, mdmwaitd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int mdmspd, dialfc, dialmth, dialesc, dialfld, dialidt, dialpace;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int mdmspk, mdmvol, dialtest;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int dialcvt = 2; /* DIAL CONVERT-DIRECTORY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int dialcnf = 0; /* DIAL CONFIRMATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int dialcon = 2; /* DIAL CONNECT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int dialcq = 0; /* DIAL CONNECT AUTO quiet/verbose */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern long dialmax, dialcapas;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int usermdm = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ndialdir;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *dialini, *dialmstr, *dialmprmt, *dialdir[], *dialcmd, *dialnpr,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*dialdcon, *dialdcoff, *dialecon, *dialecoff, *dialhcmd, *dialx3,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*dialhwfc, *dialswfc, *dialnofc, *dialtone, *dialpulse, *dialname, *diallac;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *diallcc, *dialixp, *dialixs, *dialldp, *diallds, *dialtfp,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*dialpxi, *dialpxo, *dialsfx, *dialaaon, *dialaaoff;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *diallcp, *diallcs, *dialini2, *dialmac;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *dialspoff, *dialspon, *dialvol1, *dialvol2, *dialvol3;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *dialtocc[MAXTPCC] = { NULL, NULL };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ndialtocc = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *dialpucc[MAXTPCC] = { NULL, NULL };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ndialpucc = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *dialtfc[MAXTOLLFREE] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ntollfree = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *dialpxx[MAXPBXEXCH] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ndialpxx = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *diallcac[MAXLOCALAC] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nlocalac = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab drstrtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"international", 5, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"local", 2, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"long-distance", 4, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none", 6, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab dcnvtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ask", 2, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab setmdm[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"capabilities", XYDCAP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"carrier-watch", XYDMCD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"command", XYDSTR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"compression", XYDDC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"data-compression", XYDDC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dial-command", XYDDIA, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"error-correction", XYDEC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"escape-character", XYDESC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"flow-control", XYDFC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"hangup-method", XYDMHU, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kermit-spoof", XYDKSP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"maximum-speed", XYDMAX, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"name", XYDNAM, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"speaker", XYDSPK, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"speed-matching", XYDSPD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"type", XYDTYP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"volume", XYDVOL, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nsetmdm = (sizeof(setmdm) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab voltab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"high", 3, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"low", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"medium", 2, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab mdmcap[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"at-commands", CKD_AT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"compression", CKD_DC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dc", CKD_DC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ec", CKD_EC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"error-correction", CKD_EC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"hardware-flow", CKD_HW, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"hwfc", CKD_HW, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"itu", CKD_V25, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kermit-spoof", CKD_KS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ks", CKD_KS, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sb", CKD_SB, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"software-flow", CKD_SW, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"speed-buffering", CKD_SB, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"swfc", CKD_SW, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"tb", CKD_TB, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"telebit", CKD_TB, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"v25bis-commands", CKD_V25, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nmdmcap = (sizeof(mdmcap) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT /* SET ANSWER not implemented yet */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab answertab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "caller-id", XYA_CID, 0 };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "rings", XYA_RNG, 0 };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nanswertab = (sizeof(answertab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab dialtab[] = { /* SET DIAL table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"area-code", XYDLAC, 0, /* Also still includes items */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"compression", XYDDC, CM_INV, /* that were moved to SET MODEM, */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"confirmation", XYDCNF, 0, /* but they are CM_INVisible... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"connect", XYDCON, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"convert-directory",XYDCVT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"country-code", XYDLCC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dial-command", XYDDIA, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"directory", XYDDIR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"display", XYDDPY, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"escape-character", XYDESC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"error-correction", XYDEC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"flow-control", XYDFC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"force-long-distance", XYDFLD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"hangup", XYDHUP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ignore-dialtone", XYDIDT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"interval", XYDINT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"in", XYDINI, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"init-string", XYDINI, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"intl-prefix", XYDIXP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"intl-suffix", XYDIXS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kermit-spoof", XYDKSP, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"lc-area-codes", XYDLLAC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"lc-prefix", XYDLCP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"lc-suffix", XYDLCS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ld-prefix", XYDLDP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ld-suffix", XYDLDS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"local-area-code", XYDLAC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"local-prefix", XYDLCP, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"local-suffix", XYDLCS, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"m", XYDMTH, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"macro", XYDMAC, 0, /* 195 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef MDMHUP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"me", XYDMTH, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* MDMHUP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"method", XYDMTH, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"mnp-enable", XYDMNP, CM_INV, /* obsolete but still accepted */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef MDMHUP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"modem-hangup", XYDMHU, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* MDMHUP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pacing", XYDPAC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pbx-exchange", XYDPXX, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pbx-inside-prefix",XYDPXI, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pbx-outside-prefix",XYDPXO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"prefix", XYDNPR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pulse-countries", XYDPUCC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"restrict", XYDRSTR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"retries", XYDRTM, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sort", XYDSRT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"speed-matching", XYDSPD, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"string", XYDSTR, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"suffix", XYDSFX, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"test", XYDTEST, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"timeout", XYDTMO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"tf-area-code", XYDTFC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"tf-prefix", XYDTFP, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"toll-free-area-code",XYDTFC,0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"toll-free-prefix", XYDTFP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"tone-countries", XYDTOCC, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ndial = (sizeof(dialtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef MDMHUP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab mdmhang[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dtr", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"modem-command", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"rs232-signal", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"v24-signal", 0, CM_INV
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* MDMHUP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab mdmcmd[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"autoanswer", XYDS_AN, 0, /* autoanswer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"compression", XYDS_DC, 0, /* data compression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dial-mode-prompt", XYDS_MP, 0, /* dial mode prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dial-mode-string", XYDS_MS, 0, /* dial mode string */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"error-correction", XYDS_EC, 0, /* error correction */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"hangup-command", XYDS_HU, 0, /* hangup command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"hardware-flow", XYDS_HW, 0, /* hwfc */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ignore-dialtone", XYDS_ID, 0, /* ignore dialtone */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"init-string", XYDS_IN, 0, /* init string */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"no-flow-control", XYDS_NF, 0, /* no flow control */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"predial-init", XYDS_I2, 0, /* last-minute setup commands */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pulse", XYDS_DP, 0, /* pulse */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"software-flow", XYDS_SW, 0, /* swfc */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"speaker", XYDS_SP, 0, /* Speaker */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"tone", XYDS_DT, 0, /* tone */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"volume", XYDS_VO, 0 /* Volume */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nmdmcmd = (sizeof(mdmcmd) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab dial_fc[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"auto", FLO_AUTO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none", FLO_NONE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"rts/cts", FLO_RTSC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xon/xoff", FLO_XONX, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab dial_m[] = { /* DIAL METHOD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"auto", XYDM_A, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"default", XYDM_D, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pulse", XYDM_P, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"tone", XYDM_T, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ndial_m = (sizeof(dial_m)/sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NODIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_TAPI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab tapitab[] = { /* Top-Level Microsoft TAPI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"configure-line", XYTAPI_CFG, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dialing-properties", XYTAPI_DIAL, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ntapitab = (sizeof(tapitab)/sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab settapitab[] = { /* SET Microsoft TAPI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"inactivity-timeout", XYTAPI_INA, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"line", XYTAPI_LIN, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"location", XYTAPI_LOC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"manual-dialing", XYTAPI_MAN, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"modem-dialing", XYTAPI_PASS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"modem-lights", XYTAPI_LGHT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"phone-number-conversions", XYTAPI_CON, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"port", XYTAPI_LIN, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"post-dial-terminal", XYTAPI_PST, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pre-dial-terminal", XYTAPI_PRE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"use-windows-configuration", XYTAPI_USE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"wait-for-credit-card-tone", XYTAPI_BNG, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nsettapitab = (sizeof(settapitab)/sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab * tapiloctab = NULL; /* Microsoft TAPI Locations */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ntapiloc = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab * tapilinetab; /* Microsoft TAPI Line Devices */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ntapiline;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tttapi; /* TAPI in use */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tapipass; /* TAPI Passthrough mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tapiconv; /* TAPI Conversion mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tapilights;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tapipreterm;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tapipostterm;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tapimanual;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tapiinactivity;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tapibong;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tapiusecfg;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_TAPI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOPUSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int nopush;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int wildena;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab wildtab[] = { /* SET WILDCARD-EXPANSION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kermit", WILD_KER, 0, /* By Kermit */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", WILD_OFF, 0, /* Disabled */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", WILD_ON, 0, /* Enabled */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"shell", WILD_SHE, 0, /* By Shell */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nwild = (sizeof(wildtab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab wdottab[] = { /* cont'd */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/match-dot-files", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/no-match-dot-files", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int wildxpand;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOPUSH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCONN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab netcmd[], netkey[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int nnets, nnetkey;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TCPSOCKET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab tcpopt[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ntcpopt;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TCPSOCKET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NPIPE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char pipename[PIPENAML+1] = { NUL, NUL };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NPIPE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NETBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern unsigned char NetBiosName[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NETBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCONN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef ANYX25
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab x25tab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"call-user-data", XYUDAT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"closed-user-group", XYCLOS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"reverse-charge", XYREVC, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nx25 = (sizeof(x25tab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef IBMX25
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab padx3tab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"break-action", PAD_BREAK_ACTION, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"break-character", PAD_BREAK_CHARACTER, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"character-delete", PAD_CHAR_DELETE_CHAR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cr-padding", PAD_PADDING_AFTER_CR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"discard-output", PAD_SUPPRESSION_OF_DATA, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"echo", PAD_ECHO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"editing", PAD_EDITING, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"escape", PAD_ESCAPE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"forward", PAD_DATA_FORWARD_CHAR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"lf-padding", PAD_PADDING_AFTER_LF, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"lf-insert", PAD_LF_AFTER_CR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"line-delete", PAD_BUFFER_DELETE_CHAR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"line-display", PAD_BUFFER_DISPLAY_CHAR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"line-fold", PAD_LINE_FOLDING, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pad-flow-control", PAD_FLOW_CONTROL_BY_PAD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"service-signals", PAD_SUPPRESSION_OF_SIGNALS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"timeout", PAD_DATA_FORWARD_TIMEOUT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Speed is read-only */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"transmission-rate", PAD_LINE_SPEED, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"user-flow-control", PAD_FLOW_CONTROL_BY_USER, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int npadx3 = (sizeof(padx3tab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IBMX25 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ANYX25 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TLOG
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab vbtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"brief", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2ORUNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ftp", 2, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2ORUNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"verbose", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nvb = (sizeof(vbtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TLOG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKSYSLOG
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab syslogtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"all", SYSLG_CX, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"commands", SYSLG_CM, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"connection", SYSLG_AC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"debug", SYSLG_DB, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dial", SYSLG_DI, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"file-access", SYSLG_FA, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"file-create", SYSLG_FC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"login", SYSLG_LI, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none", SYSLG_NO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"protocol", SYSLG_PR, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nsyslog = (sizeof(syslogtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKSYSLOG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Parity keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab partbl[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"even", 'e', 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef HWPARITY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"hardware",'H', 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* HWPARITY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"mark", 'm', 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none", 0 , 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"odd", 'o', 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"space", 's', 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int npar = (sizeof(partbl) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef HWPARITY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab hwpartbl[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Add mark and space if needed and possible */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"even", 'e', 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"mark", 'm', 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"odd", 'o', 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"space", 's', 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nhwpar = (sizeof(hwpartbl) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* HWPARITY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* On/Off table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab onoff[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define XYCD_M 0 /* CD MESSAGE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define XYCD_P 1 /* CD PATH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define XYCD_H 2 /* CD HOME */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab cdtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"home", XYCD_H, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"message", XYCD_M, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"path", XYCD_P, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ncdtab = (sizeof(cdtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab cdmsg[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"file", 2, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ncdmsg = (sizeof(cdmsg) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab xittab[] = { /* SET EXIT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"hangup", 3, 0, /* ...HANGUP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on-disconnect", 2, 0, /* ...ON-DISCONNECT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"status", 0, 0, /* ...STATUS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"warning", 1, 0 /* ...WARNING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nexit = (sizeof(xittab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab xitwtab[] = { /* SET EXIT WARNING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"always", 2, 0, /* even when not connected */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", 0, 0, /* no warning */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", 1, 0 /* when connected */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nexitw = (sizeof(xitwtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab rltab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"local", 1, 0, /* ECHO values */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", 0, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", 1, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"remote", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nrlt = (sizeof(rltab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Incomplete File Disposition table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab ifdtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"discard", SET_OFF, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"keep", SET_ON, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab ifdatab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"auto", SET_AUTO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"discard", SET_OFF, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"keep", SET_ON, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * ifdnam[] = { "discard", "keep", "auto" };
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* SET TAKE parameters table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab taktab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"echo", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"error", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", 2, CM_INV, /* For compatibility */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", 3, CM_INV /* with MS-DOS Kermit... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* not used */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab suftab[] = { /* (what to do with) STARTUP-FILE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"delete", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"keep", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* SET MACRO parameters table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab smactab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"echo", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"error", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSCRIPT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab scrtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"echo", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSCRIPT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* SET COMMAND table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* SET COMMAND items... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_BSZ 0 /* BYTESIZE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_RCL 1 /* RECALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_RTR 2 /* RETRY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_QUO 3 /* QUOTING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_COL 4 /* COLOR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_HIG 5 /* HEIGHT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_WID 6 /* WIDTH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_CUR 7 /* CURSOR-POSITION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_SCR 8 /* SCROLLBACK */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_MOR 9 /* MORE-PROMPTING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_INT 10 /* INTERRUPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_ADL 11 /* AUTODOWNLOAD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_STA 12 /* STATUSLINE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_DBQ 13 /* DOUBLEQUOTING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_CBR 14 /* CBREAK */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SCMD_BFL 15 /* BUFFER-SIZE (not used) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab scmdtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTODL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"autodownload", SCMD_ADL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTODL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
To implement this requires that we change CMDBL and ATMBL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
from compile-time symbols to runtime variables. Not a big deal,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
but not trivial either.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"buffer-size", SCMD_BFL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"bytesize", SCMD_BSZ, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cbreak", SCMD_CBR, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"color", SCMD_COL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cursor-position", SCMD_CUR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DOUBLEQUOTING
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"doublequoting", SCMD_DBQ, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DOUBLEQUOTING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"height", SCMD_HIG, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"interruption", SCMD_INT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"more-prompting", SCMD_MOR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"quoting", SCMD_QUO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RECALL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"recall-buffer-size", SCMD_RCL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RECALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RECALL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"retry", SCMD_RTR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RECALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef ONETERMUPD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"scrollback", SCMD_SCR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"statusline", SCMD_STA, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ONETERMUPD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"width", SCMD_WID, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nbytt = (sizeof(scmdtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSERVER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Server parameters table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab srvtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cd-message", XYSERC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"display", XYSERD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"get-path", XYSERP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"idle-timeout", XYSERI, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"keepalive", XYSERK, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"login", XYSERL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"timeout", XYSERT, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsrvt = (sizeof(srvtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSERVER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab sleeptab[] = { /* SET SLEEP table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cancellation", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab tstab[] = { /* SET TRANSFER/XFER table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"bell", XYX_BEL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef XFRCAN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cancellation", XYX_CAN, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* XFRCAN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCSETS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"character-set", XYX_CSE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCSETS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"crc-calculation", XYX_CRC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"display", XYX_DIS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"interruption", XYX_INT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"locking-shift", XYX_LSH, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"message", XYX_MSG, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"mode", XYX_MOD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"msg", XYX_MSG, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PIPESEND
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pipes", XYX_PIP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PIPESEND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_XYZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"protocol", XYX_PRO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_XYZ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"report", XYX_RPT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"slow-start", XYX_SLO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCSETS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"translation", XYX_XLA, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"translation", XYX_XLA, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCSETS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xlation", XYX_XLA, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nts = (sizeof(tstab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab rtstab[] = { /* REMOTE SET TRANSFER/XFER table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCSETS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"character-set", XYX_CSE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCSETS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"mode", XYX_MOD, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nrts = (sizeof(rtstab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab xfrmtab[] = { /* TRANSFER MODE table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"automatic", XMODE_A, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"manual", XMODE_M, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef LOCUS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int locus, autolocus;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab locustab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "ask", 3, 0 }, /* Presently implemented in GUI only */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "auto", 2, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "local", 1, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "remote", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nlocustab = (sizeof(locustab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* LOCUS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCSETS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* SET TRANSFER CHARACTER-SET table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab tcstab[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ntcs;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCSETS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* SET TRANSFER LOCKING-SHIFT table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab lstab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"forced", 2, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nls = (sizeof(lstab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* SET TELNET tables */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TNCODE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tn_nlm, tn_b_nlm, tn_b_meu, tn_b_ume, tn_b_xfer, tn_sb_bug;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tn_no_encrypt_xfer, tn_auth_krb5_des_bug;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tn_wait_flg, tn_duplex, tn_delay_sb, tn_sfu;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sl_tn_saved;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tn_infinite;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tn_rem_echo;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tn_deb;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tn_auth_how;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tn_auth_enc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_FORWARD_X
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * tn_fwdx_xauthority;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_FORWARD_X */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTHENTICATION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab setauth[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_KERBEROS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"k4", AUTH_KRB4, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"k5", AUTH_KRB5, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kerberos4", AUTH_KRB4, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kerberos5", AUTH_KRB5, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kerberos_iv",AUTH_KRB4, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kerberos_v", AUTH_KRB5, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"krb4", AUTH_KRB4, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"krb5", AUTH_KRB5, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_KERBEROS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SRP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"srp", AUTH_SRP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SRP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ssl", AUTH_SSL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"tls", AUTH_TLS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsetauth = sizeof(setauth)/sizeof(struct keytab) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_KERBEROS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * krb5_d_principal; /* Default principal */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * krb5_d_instance;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * krb5_d_realm; /* Default realm */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * krb5_d_cc; /* Default credentials cache */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * krb5_d_srv; /* Default service name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb5_d_lifetime; /* Default lifetime */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb5_d_forwardable;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb5_d_proxiable;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb5_d_renewable;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb5_autoget;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb5_autodel;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb5_d_getk4;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb5_checkaddrs; /* Check TGT Addrs */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb5_d_no_addresses;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * krb5_d_addrs[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * k5_keytab; /* Keytab file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct krb4_init_data krb4_init;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * krb4_d_principal; /* Default principal */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * krb4_d_realm; /* Default realm */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * krb4_d_srv; /* Default service name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb4_d_lifetime; /* Default lifetime */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb4_d_preauth;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * krb4_d_instance;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb4_autoget;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb4_autodel;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int krb4_checkaddrs; /* Check TGT Addrs */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * k4_keytab; /* Keytab file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KRB4
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int k4debug;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KRB4 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab krbver[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"4", 4, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"5", 5, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"iv", 4, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"v", 5, CM_INV
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nkrbver = sizeof(krbver)/sizeof(struct keytab);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab kdestab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"never", KRB_DEL_NO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"no", KRB_DEL_NO, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on-close", KRB_DEL_CL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on-exit", KRB_DEL_EX, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nkdestab = sizeof(kdestab)/sizeof(struct keytab);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab k4tab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"autodel", XYKRBDEL, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"autodestroy", XYKRBDEL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"autoget", XYKRBGET, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"check-address", XYKRBADR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"debug", XYKRBDBG, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"instance", XYKRBINS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"keytab", XYKRBKTB, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"lifetime", XYKRBLIF, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"preauth", XYKRBPRE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"principal", XYKRBPR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"prompt", XYKRBPRM, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"realm", XYKRBRL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"service-name", XYKRBSRV, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nk4tab = sizeof(k4tab)/sizeof(struct keytab);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab k5tab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"addresses", XYKRBADD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"autodelete", XYKRBDEL, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"autodestroy", XYKRBDEL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"autoget", XYKRBGET, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cc", XYKRBCC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"check-address", XYKRBADR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"credentials-cache", XYKRBCC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"forwardable", XYKRBFWD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"get-k4-tgt", XYKRBK5K4,0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"instance", XYKRBINS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"keytab", XYKRBKTB, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"lifetime", XYKRBLIF, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"no-addresses", XYKRBNAD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"principal", XYKRBPR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"prompt", XYKRBPRM, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"proxiable", XYKRBPRX, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"realm", XYKRBRL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"renewable", XYKRBRNW, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"service-name", XYKRBSRV, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nk5tab = sizeof(k5tab)/sizeof(struct keytab);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define KRB_PW_PRM 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define KRB_PR_PRM 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab krbprmtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"password", KRB_PW_PRM, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"principal", KRB_PR_PRM, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_KERBEROS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SRP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab srptab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"prompt", XYSRPPRM, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsrptab = sizeof(srptab)/sizeof(struct keytab);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SRP_PW_PRM 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab srpprmtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"password", SRP_PW_PRM, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SRP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab ssltab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"certs-ok", XYSSLCOK, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cipher-list", XYSSLCL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"crl-dir", XYSSLCRLD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"crl-file", XYSSLCRL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"debug", XYSSLDBG, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dh-key-file", XYSSLDKFL, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dh-param-file", XYSSLDPFL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dsa-cert-chain-file", XYSSLDCCF, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dsa-cert-file", XYSSLDCFL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dsa-key-file", XYSSLDKFL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dummy", XYSSLDUM, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"only", XYSSLON, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"random-file", XYSSLRND, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"rsa-cert-chain-file", XYSSLRCCF, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"rsa-cert-file", XYSSLRCFL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"rsa-key-file", XYSSLRKFL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"verbose", XYSSLVRB, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"verify", XYSSLVRF, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"verify-dir", XYSSLVRFD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"verify-file", XYSSLVRFF, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nssltab = sizeof(ssltab)/sizeof(struct keytab);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab sslvertab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"fail-if-no-peer-cert", SSL_VERIFY_PEER |
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
SSL_VERIFY_FAIL_IF_NO_PEER_CERT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"no", SSL_VERIFY_NONE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none", SSL_VERIFY_NONE, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", SSL_VERIFY_NONE, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", SSL_VERIFY_PEER, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"peer-cert", SSL_VERIFY_PEER, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsslvertab = sizeof(sslvertab)/sizeof(struct keytab);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENCRYPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int cx_type = CX_AUTO;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sl_cx_type;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENCRYPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *tcp_address;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOHTTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * tcp_http_proxy;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * tcp_http_proxy_user;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * tcp_http_proxy_pwd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * tcp_http_proxy_agent;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOHTTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SOCKS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *tcp_socks_svr;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *tcp_socks_user;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SOCKS_NS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *tcp_socks_ns;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SOCKS_NS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SOCKS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define UPW_USER 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define UPW_PASS 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define UPW_AGENT 3
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab userpass[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "/agent", UPW_AGENT, CM_ARG },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "/password", UPW_PASS, CM_ARG },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "/user", UPW_USER, CM_ARG },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nuserpass = sizeof(userpass)/sizeof(struct keytab);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab tnnegtab[] = { /* TELNET NEGOTIATION table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"accepted", TN_NG_AC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"refused", TN_NG_RF, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"req", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"requ", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"reque", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"reques", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"request", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"requeste", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"requested", TN_NG_RQ, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"required", TN_NG_MU, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int ntnnegtab = sizeof(tnnegtab)/sizeof(struct keytab);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENCRYPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab typkwd[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/type", 0, CM_ARG
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab tnenctab[] = { /* TELNET ENCRYPTION table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"accepted", TN_NG_AC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"refused", TN_NG_RF, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"req", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"requ", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"reque", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"reques", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"request", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"requeste", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"requested", TN_NG_RQ, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"required", TN_NG_MU, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"start", TN_EN_START, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"stop", TN_EN_STOP, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"type", TN_EN_TYP, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int ntnenc = sizeof(tnenctab)/sizeof(struct keytab) ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENCRYPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_FORWARD_X
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab tnfwdxtab[] = { /* TELNET FORWARD-X table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"no-encryption", 1, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xauthority-file", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int ntnfwdx = sizeof(tnfwdxtab)/sizeof(struct keytab) ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_FORWARD_X */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab tnbugtab[] = { /* TELNET BUG table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"auth-krb5-des", 4, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary-me-means-u-too", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary-u-means-me-too", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"infinite-loop-check", 2, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sb-implies-will-do", 3, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENVIRONMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab tnenvtab[] = { /* TELNET ENVIRONMENT table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"acct", TN_ENV_ACCT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"display", TN_ENV_DISP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"job", TN_ENV_JOB, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"location", TN_ENV_LOC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", TN_ENV_OFF, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", TN_ENV_ON, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"printer", TN_ENV_PRNT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"systemtype",TN_ENV_SYS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"user", TN_ENV_USR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"uservar", TN_ENV_UVAR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int ntnenv = sizeof(tnenvtab)/sizeof(struct keytab) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENVIRONMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTHENTICATION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab tnauthtab[] = { /* TELNET AUTHENTICATION table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"accepted", TN_NG_AC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"encrypt-flag", TN_AU_ENC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"forwarding", TN_AU_FWD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"how-flag", TN_AU_HOW, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"refused", TN_NG_RF, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"req", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"requ", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"reque", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"reques", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"request", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"requeste", TN_NG_RQ, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"requested", TN_NG_RQ, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"required", TN_NG_MU, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"type", TN_AU_TYP, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int ntnauth = sizeof(tnauthtab)/sizeof(struct keytab) ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab autyptab[] = { /* TELNET AUTHENTICATION TYPE table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"automatic", AUTH_AUTO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_KERBEROS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"k4", AUTH_KRB4, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"k5", AUTH_KRB5, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kerberos4", AUTH_KRB4, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kerberos5", AUTH_KRB5, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kerberos_iv",AUTH_KRB4, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kerberos_v", AUTH_KRB5, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"krb4", AUTH_KRB4, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"krb5", AUTH_KRB5, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_KERBEROS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none", AUTH_NONE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ntlm", AUTH_NTLM, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SRP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"srp", AUTH_SRP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SRP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ssl", AUTH_SSL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nautyp = sizeof(autyptab)/sizeof(struct keytab) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab auhowtab[] = { /* TELNET AUTHENTICATION HOW table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"any", TN_AUTH_HOW_ANY, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"mutual", TN_AUTH_HOW_MUTUAL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"one-way", TN_AUTH_HOW_ONE_WAY, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nauhow = sizeof(auhowtab)/sizeof(struct keytab) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab auenctab[] = { /* TELNET AUTHENTICATION ENCRYPT table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"any", TN_AUTH_ENC_ANY, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none", TN_AUTH_ENC_NONE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"telopt", TN_AUTH_ENC_TELOPT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"tls", TN_AUTH_ENC_TLS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nauenc = sizeof(auenctab)/sizeof(struct keytab) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define TN_NL_BIN 3
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define TN_NL_NVT 4
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab tn_nlmtab[] = { /* TELNET NEWLINE-MODE table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary-mode", TN_NL_BIN, 0, /* Binary mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"nvt", TN_NL_NVT, 0, /* NVT mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", TNL_CRNUL, CM_INV, /* CR-NUL (TELNET spec) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", TNL_CRLF, CM_INV, /* CR-LF (TELNET spec) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"raw", TNL_CR, CM_INV /* CR only (out of spec) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int ntn_nlm = (sizeof(tn_nlmtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab tnlmtab[] = { /* TELNET NEWLINE-MODE table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cr", TNL_CR, CM_INV, /* CR only (out of spec) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cr-lf", TNL_CRLF, CM_INV, /* CR-LF (TELNET spec) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cr-nul", TNL_CRNUL, CM_INV, /* CR-NUL (TELNET spec) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"lf", TNL_LF, CM_INV, /* LF instead of CR-LF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"off", TNL_CRNUL, 0, /* CR-NUL (TELNET spec) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"on", TNL_CRLF, 0, /* CR-LF (TELNET spec) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"raw", TNL_CR, 0 /* CR only (out of spec) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int ntnlm = (sizeof(tnlmtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab tntab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTHENTICATION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"authentication", CK_TN_AU, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"b", CK_TN_BM, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"bi", CK_TN_BM, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"bin", CK_TN_BM, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"bina", CK_TN_BM, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binar", CK_TN_BM, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary", CK_TN_BM, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary-", CK_TN_BM, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary-mode", CK_TN_BM, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary-transfer-mode", CK_TN_XF, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary-xfer-mode", CK_TN_XF, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"bug", CK_TN_BUG, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"debug", CK_TN_DB, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"delay-sb", CK_TN_DL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"echo", CK_TN_EC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENCRYPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"encryption", CK_TN_ENC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENCRYPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENVIRONMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"environment", CK_TN_ENV, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENVIRONMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_FORWARD_X
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"forward-x", CK_TN_FX, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_FORWARD_X */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKS_OPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kermit", CK_TN_IKS, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKS_OPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SNDLOC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"location", CK_TN_LOC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SNDLOC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NAWS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"naws", CK_TN_NAWS, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NAWS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"newline-mode", CK_TN_NL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"no-encrypt-during-xfer", CK_TN_NE, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"prompt-for-userid",CK_TN_PUID,0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"remote-echo", CK_TN_RE, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"start-tls", CK_TN_TLS, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sfu-compatibility", CK_TN_SFU, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sfu-compatibility", CK_TN_SFU, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"terminal-type", CK_TN_TT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"wait-for-negotiations", CK_TN_WAIT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENVIRONMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xdisplay-location",CK_TN_XD, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENVIRONMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ntn = (sizeof(tntab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab tnopttab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTHENTICATION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"authentication", CK_TN_AU, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"authentication", CK_TN_AU, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary-mode", CK_TN_BM, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"c", CK_TN_CPC, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"co", CK_TN_CPC, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"com", CK_TN_CPC, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"com-port-control",CK_TN_CPC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"comport-control", CK_TN_CPC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"com-port-control",CK_TN_CPC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"comport-control", CK_TN_CPC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"echo", CK_TN_EC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENCRYPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"encryption", CK_TN_ENC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"encryption", CK_TN_ENC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENCRYPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_FORWARD_X
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"forward-x", CK_TN_FX, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* CK_FORWARD_X */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"forward-x", CK_TN_FX, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_FORWARD_X */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ibm-sak", CK_TN_SAK, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKS_OPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kermit", CK_TN_IKS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kermit", CK_TN_IKS, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKS_OPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"lflow", CK_TN_FLW, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"logout", CK_TN_LOG, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NAWS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"naws", CK_TN_NAWS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"naws", CK_TN_NAWS, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NAWS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENVIRONMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"new-environment", CK_TN_ENV, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"new-environment", CK_TN_ENV, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENVIRONMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pragma-heartbeat",CK_TN_PHR, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pragma-logon", CK_TN_PLG, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pragma-sspi", CK_TN_PSP, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sak", CK_TN_SAK, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SNDLOC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"send-location", CK_TN_LOC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"send-location", CK_TN_LOC, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SNDLOC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sga", CK_TN_SGA, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"start-tls", CK_TN_TLS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"start-tls", CK_TN_TLS, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"suppress-go-aheads", CK_TN_SGA, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"terminal-type", CK_TN_TT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ttype", CK_TN_TT, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENVIRONMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xdisplay-location", CK_TN_XD, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xdisplay-location", CK_TN_XD, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENVIRONMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ntnopt = (sizeof(tnopttab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab tnoptsw[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/client", CK_TN_CLIENT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/server", CK_TN_SERVER, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ntnoptsw = (sizeof(tnoptsw) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TNCODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab ftrtab[] = { /* Feature table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCSETS /* 0 = we have it, 1 = we don't */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"character-sets", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"character-sets", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCSETS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCYRIL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cyrillic", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cyrillic", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCYRIL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOGDIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cx-log", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cx-log", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOGDIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NODEBUG
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"debug", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"debug", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NODEBUG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NODIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dial", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dial", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NODIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DYNAMIC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dynamic-memory", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"dynamic-memory", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DYNAMIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"file-transfer", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"file-transfer", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef XXFWD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"forward", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"forward", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* XXFWD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NEWFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ftp", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ftp", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NEWFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_CURSES
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"fullscreen-display", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"fullscreen-display", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_CURSES */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef GREEK
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"greek", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"greek", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* GREEK */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef HEBREW
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"hebrew", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"hebrew", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* HEBREW */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOHELP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"help", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"help", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOHELP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOIKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"iksd", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"iksd", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOIKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"if-command", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"if-command", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOJC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"job-control", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"job-control", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"job-control", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOJC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KANJI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kanji", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kanji", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KANJI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kermit", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kermit", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_KERBEROS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kerberos", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kerberos", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_KERBEROS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCSETS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"latin1", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"latin1", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCSETS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef LATIN2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"latin2", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"latin2", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* LATIN2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKLEARN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"learned-scripts", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"learned-scripts", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKLEARN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"making-connections", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"making-connections", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCONN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"network", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"network", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCONN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTHENTICATION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ntlm", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ntlm", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ntlm", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PIPESEND
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pipes", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCMD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pipes", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCMD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PIPESEND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef PIPESEND
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NETCMD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pipes", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PIPESEND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCMD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETPTY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pty", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pty", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETPTY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOPUSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"push", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"push", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PUSH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_REDIR
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"redirect", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"redirect", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_REDIR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RTSCTS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"rts/cts", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"rts/cts", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* RTS/CTS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSCRIPT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"script-command", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"script-command", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSCRIPT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSERVER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"server-mode", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"server-mode", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSERVER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSEXP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sexpression", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sexpression", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSEXP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SFTP_BUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sftp", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sftp", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SFTP_BUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSHOW
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"show-command", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"show-command", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSHOW */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SRP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"srp", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"srp", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SRP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ssh", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ssh", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ssl/tls", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ssl/tls", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXMIT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"transmit", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"transmit", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXMIT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNICODE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"unicode", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"unicode", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNICODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_XYZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xyzmodem", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xyzmodem", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXMIT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nftr = (sizeof(ftrtab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab desttab[] = { /* SET DESTINATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CALIBRATE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"calibrate", DEST_N, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CALIBRATE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"disk", DEST_D, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CALIBRATE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"nowhere", DEST_N, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CALIBRATE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"printer", DEST_P, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"screen", DEST_S, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ndests = (sizeof(desttab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL /* Used only with script programming items... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSERVER /* This is just to avoid some */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CK_PARSDIR /* "statement not reached" */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* complaints... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NODIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CK_PARSDIR
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NODIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSERVER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cx == 0 means dial directory
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cx == 1 means network directory
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cx == 2 means a directory path list
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
parsdir(cx) int cx; {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, x, y, dd; /* Workers */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nxdir;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char ** xdir;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *pp[MAXGETPATH]; /* Temporary name pointers */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef ZFNQFP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct zfnfp * fnp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * env;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char dirpath[4096];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char dirpath[1024]; /* For fully qualified filenames */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ZFNQFP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int max = 0; /* Maximum number of things to parse */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char c;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NODIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cx == 0) { /* Dialing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nxdir = ndialdir;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xdir = dialdir;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
max = MAXDDIR;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCONN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cx == 1) { /* Network */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nxdir = nnetdir;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xdir = netdir;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
max = MAXDDIR;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCONN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NODIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSERVER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cx == 2) { /* GET path */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nxdir = ngetpath;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xdir = getpath;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
max = MAXGETPATH;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else /* Called with invalid function code */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSERVER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < MAXGETPATH; i++) /* Init these. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pp[i] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_PARSDIR
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dd = 0; /* Temporary name counter */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cx != 2) { /* Dialing or Network Directory */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int len;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * appdata0 = NULL, * appdata1 = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
env = getenv("K95PHONES");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&appdata0,(char *)GetAppData(0));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&appdata1,(char *)GetAppData(1));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
env = getenv("K2PHONES");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!env)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
env = getenv("K95PHONES");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!env)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
env = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dirpath[0] = '\0';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len = strlen(env) + 2*strlen(startupdir) + 2*strlen(inidir)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
+ (appdata0?2*strlen(appdata0):0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
+ (appdata1?2*strlen(appdata1):0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
+ 2*strlen(zhome()) + 2*strlen(exedir) + 8*strlen("PHONES/")
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
+ 12;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (len < 4096) /* SAFE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sprintf(dirpath,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"%s%s%s;%s%s;%s%s%s%s%s%s%s%s%s;%s%s;%s;%s%s",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Semicolon-separated path list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
env,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(env[0] && env[strlen(env)-1] == ';') ? "" : ";",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
startupdir,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
startupdir, "PHONES/",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
appdata1 ? appdata1 : "",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
appdata1 ? "Kermit 95;" : "",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
appdata1 ? appdata1 : "",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
appdata1 ? "Kermit 95/PHONES/;" : "",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
appdata0 ? appdata0 : "",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
appdata0 ? "Kermit 95;" : "",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
appdata0 ? appdata0 : "",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
appdata0 ? "Kermit 95/PHONES/;" : "",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
inidir,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
inidir, "PHONES/",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zhome(),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zhome(), "PHONES/",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
exedir,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
exedir, "PHONES/"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&appdata0,NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&appdata1,NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = 1024;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = dirpath;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zzstring("\\v(home)",&s,&y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmifip(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Names of one or more directory files, separated by spaces",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",&s,&x,0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2ORUNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dirpath,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2ORUNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* List of directory names */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmdir("Directory name","",&s,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -3) { /* EOL or user typed <CR> */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < max; i++) { /* Clear these */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i < nxdir && xdir[i]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(xdir[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xdir[i] = (i < dd) ? pp[i] : NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NODIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cx == 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ndialdir = dd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCONN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cx == 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nnetdir = dd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCONN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NODIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSERVER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cx == 2)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ngetpath = dd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSERVER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Parse error */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < dd; i++) { /* Free temp storage */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pp[i]) free(pp[i]); /* but don't change */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pp[i] = NULL; /* anything else */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Wildcards not allowed\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_TMPDIR
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cx == 2 && !isdir(s)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Not a directory - %s\n", s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_TMPDIR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef ZFNQFP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cx < 2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!isabsolute(s)) { /* If not relative get full path */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((fnp = zfnqfp(s,TMPBUFSIZ - 1,tmpbuf))) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fnp->fpath)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((int) strlen(fnp->fpath) > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = fnp->fpath;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ZFNQFP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
c = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = strlen(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 0) /* Get last char */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
c = s[x-1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F000,"parsdir s",s,c);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((pp[dd] = malloc(strlen(s)+2)) == NULL) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Internal error - malloc\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < dd; i++) { /* Free temp storage */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pp[i]) free(pp[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pp[i] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Have storage for name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(pp[dd],s); /* Copy string into new storage */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,"parsdir pp[dd] 1",pp[dd],dd);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cx == 2) { /* If we are parsing directories */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char dirsep[2];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int myindex; /* Append directory separator if */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct sysdata sysidlist[]; /* it is missing... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"parsdir myindex","",myindex);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (myindex > -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sysidlist[myindex].sid_unixlike)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (c != sysidlist[myindex].sid_dirsep) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dirsep[0] = sysidlist[myindex].sid_dirsep;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dirsep[1] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcat(pp[dd], (char *) dirsep); /* safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,"parsdir pp[dd] 2",pp[dd],dd);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++dd > max) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Too many directories - %d max\n", max);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < dd; i++) { /* Free temp storage */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pp[i]) free(pp[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pp[i] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_PARSDIR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSERVER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cklogin() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char username[LOGINLEN+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char password[LOGINLEN+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char account[LOGINLEN+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * x_user, * x_passwd, * x_acct;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int x_login, x_logged;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
username[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
password[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
account[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmfld("username", "", &s, xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((int)strlen(s) > LOGINLEN) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\"%s\" - too long, %d max\n", s, LOGINLEN);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(username,s,LOGINLEN+1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmfld("password", "", &s, xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((int)strlen(s) > LOGINLEN) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\"%s\" - too long, %d max\n", s, LOGINLEN);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(password,s,LOGINLEN+1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmfld("account", "", &s, xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((int)strlen(s) > LOGINLEN) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\"%s\" - too long, %d max\n", s, LOGINLEN);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(account,s,LOGINLEN+1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&x_user,username);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&x_passwd,password);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&x_acct,account);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x_login = (x_user) ? 1 : 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x_logged = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSERVER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setdcd() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x, y, z = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(crrtab,ncrr,"","automatic",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == CAR_ON) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmnum("Carrier wait timeout, seconds","0",10,&z,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
carrier = ttscarr(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cdtimo = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab yesno[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int nyesno;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* g e t y e s n o */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab q0yesno[] = { /* Yes/No/Quit keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"no", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ok", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"yes", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nq0yesno = (sizeof(q0yesno) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab q1yesno[] = { /* Yes/No/Quit keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"no", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ok", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"quit", 2, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"yes", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nq1yesno = (sizeof(q1yesno) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab q2yesno[] = { /* Yes/No/Quit keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"go", 3, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"no", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ok", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"yes", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nq2yesno = (sizeof(q2yesno) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab q3yesno[] = { /* Yes/No/Quit keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"go", 3, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"no", 0, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ok", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"quit", 2, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"yes", 1, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nq3yesno = (sizeof(q3yesno) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Ask question, get yes/no answer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
getyesno(msg, flags) char * msg; int flags; {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RECALL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int on_recall; /* around Password prompting */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RECALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int y, z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int vmode, win95_popup, startflags;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int vmode_sav = vmode;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_APC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( apcactive != APC_INACTIVE && (apcstatus & APC_NOINP) ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_APC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (win95_popup && !(startflags & 96)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&& !inserver
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(popup_readyesno(vmode,NULL,msg,flags));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (vmode == VTERM) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
vmode = VCMD;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VscrnIsDirty(VTERM);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VscrnIsDirty(VCMD);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
In VMS, whenever a TAKE file or macro is active, we restore the
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
original console modes so Ctrl-C/Ctrl-Y can work. But here we
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
go interactive again, so we have to temporarily put them back.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!xcmdsrc)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
concb((char)escape);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RECALL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
on_recall = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RECALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmsavp(psave,PROMPTL); /* Save old prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmsetp(msg); /* Make new prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = 0; /* Initialize answer to No. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmini(ckxech); /* Initialize parser. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
do {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prompt(NULL); /* Issue prompt. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (flags) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0: y = cmkey(q0yesno,nq0yesno,"","",NULL); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: y = cmkey(q1yesno,nq1yesno,"","",NULL); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 2: y = cmkey(q2yesno,nq2yesno,"","",NULL); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: y = cmkey(q3yesno,nq3yesno,"","",NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -4) { /* EOF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (y == -3) /* No answer? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Please respond; type '?' to see valid answers.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmini(ckxech);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = y; /* Save answer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmcfm(); /* Get confirmation */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} while (y < 0); /* Continue till done */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmsetp(psave); /* Restore real prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmdlvl > 0) /* In VMS and not at top level, */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
conres(); /* restore console again. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (vmode != vmode_sav) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
vmode = VTERM;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VscrnIsDirty(VCMD);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VscrnIsDirty(VTERM);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern HWND hwndConsole;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP(int gui_txt_dialog,(char *,char *,int,char *,int,char *,int));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP(int gui_mtxt_dialog,(char *,int,struct txtbox []));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP(int gui_position,(int, int));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP(int gui_resize_mode,(int));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP(int gui_win_run_mode,(int));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP(int gui_saveas_dialog,(char *,char *, int, char *, char *, int));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int gui_dialog;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* u q _ o k -- User Query, get Yes/No or OK Cancel */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Call with:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
preface: Explanatory text to print, or NULL.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prompt: Prompt.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mask: Bitmask for legal responses: 1 = OK or Yes; 2 = No or Cancel.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
help: Help text (array of strings or NULL) [not used by parser].
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dflt: Default response (1 or 2) [not used by parser].
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Returns:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
-1: Invalid argument(s).
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0: User said No or Cancel.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1 User said Yes or OK.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Notes:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
preface and prompt should not include final line terminator but may
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
include embedded ones. Help text is in case GUI dialog needs a Help
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
button; final element of help-string array is "". dflt is used by GUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
to highlight the default response button.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ANSIC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uq_ok(char * preface, char * prompt, int mask,char ** help, int dflt)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* CK_ANSIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uq_ok(preface,prompt,mask,help,dflt)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * preface, * prompt, ** help;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int mask, dflt;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ANSIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* uq_ok */ {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int rc, len;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * text=NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!prompt)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((mask & 3) == 1) { /* OK (GUI only) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( gui_dialog ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* This one is for popup help, alerts, etc */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (preface) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len = strlen(preface) + strlen(prompt) + 4;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
text = (char *)malloc(len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(text,len,preface,"\n",prompt,NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = MessageBox(hwndConsole,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
text ? text : prompt,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prompt,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
MB_OK | MB_ICONINFORMATION | MB_TASKMODAL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ShowWindowAsync(hwndConsole,SW_SHOWNORMAL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
SetForegroundWindow(hwndConsole);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (text)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(text);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!rc)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (preface) /* Just display the text, if any */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s\n",preface);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (prompt)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s\n",prompt);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if ((mask & 3) == 3) { /* Yes/No or OK/Cancel */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( gui_dialog ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (preface) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len = strlen(preface) + strlen(prompt) + 4;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
text = (char *)malloc(len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(text,len,preface,"\n",prompt,NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = MessageBox(hwndConsole,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
text ? text : prompt,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prompt,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
MB_YESNO | MB_ICONINFORMATION | MB_TASKMODAL |
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(dflt == 2 ? MB_DEFBUTTON2 : MB_DEFBUTTON1));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ShowWindowAsync(hwndConsole,SW_SHOWNORMAL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
SetForegroundWindow(hwndConsole);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (text)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(text);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!rc)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (rc == IDNO || rc == IDCANCEL)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (preface)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s\n",preface);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(getyesno(prompt,0));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Internal error: uq_ok()\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* u q _ t x t -- User Query, get single text response */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Call with:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
preface: Explanatory text to print, or NULL.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prompt: Prompt.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
echo: 0 = don't echo; 1 = echo; 2 = echo with asterisks.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
help: Help text (array of strings or NULL) [not used by parser].
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
buf: Pointer to result buffer.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
buflen: Length of result buffer.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dflt: Default response text or NULL [not used by parser].
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
timer: Optional Timeout
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Returns:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0: User said No or Cancel.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1 User said Yes or OK.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Notes:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
preface, prompt, and help as for uq_ok().
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ANSIC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uq_txt(char * preface, char * prompt, int echo, char ** help, char * buf,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int buflen, char *dflt, int timer)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* CK_ANSIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uq_txt(preface,prompt,echo,help,buf,buflen,dflt,timer)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * preface, * prompt, ** help, * buf, * dflt;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int buflen, echo, timer;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ANSIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int vmode;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int startflags;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int win95_popup;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int rc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (buflen < 1 || !buf)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( gui_dialog ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = gui_txt_dialog(preface,prompt,echo,buf,buflen,dflt,timer);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( rc > -1 )
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(rc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Otherwise, the dialog could not be created. Fallback to text mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (win95_popup && !(startflags & 96)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&& !inserver
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debok = 0; /* Don't log */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (echo == 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
popup_readtext(vmode,preface,prompt,buf,buflen,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
popup_readpass(vmode,preface,prompt,buf,buflen,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debok = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (preface)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s\n",preface);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (echo == 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
readtext(prompt,buf,buflen);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
readpass(prompt,buf,buflen);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1); /* (no buttons in parser) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* u q _ m t x t -- User Query, get multiple text responses */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Call with:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
preface: Explanatory text to print, or NULL.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
help: Help text (array of strings or NULL) [not used by parser].
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n: Number of responses wanted.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
field: Array of struct txtbox, one element per field, see ckuusr.h.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Returns:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0: User said No or Cancel.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1 User said Yes or OK.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Notes:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
preface and help as for uq_ok().
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ANSIC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uq_mtxt(char * preface,char **help, int n, struct txtbox field[])
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* CK_ANSIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uq_mtxt(preface,help,n,field)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * preface; char ** help; int n; struct txtbox field[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ANSIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int vmode;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int startflags;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int win95_popup;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, rc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n < 1 || !field)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( gui_dialog ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = gui_mtxt_dialog(preface, n, field);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( rc > -1 )
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(rc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Otherwise, the dialog could not be created. Fallback to text mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (win95_popup && !(startflags & 96)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&& !inserver
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debok = 0; /* Don't log */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < n; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (field[i].t_echo == 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
popup_readtext(vmode,preface,field[i].t_lbl,field[i].t_buf,field[i].t_len,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
popup_readpass(vmode,preface,field[i].t_lbl,field[i].t_buf,field[i].t_len,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debok = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (preface)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s\n",preface);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < n; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (field[i].t_echo == 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
readtext(field[i].t_lbl,field[i].t_buf,field[i].t_len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
readpass(field[i].t_lbl,field[i].t_buf,field[i].t_len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* u q _ f i l e -- User Query, get file or directory name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Call with:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
preface: Explanatory text to print, or NULL.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prompt: Prompt string.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fc: Function code:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1 = input (existing) file
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
2 = existing directory
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
3 = create new output file
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
4 = output file allowing append access
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
help: Help text (array of strings or NULL) [not used by parser].
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dflt: Default response.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result: Pointer to result buffer.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rlength: Length of result buffer.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Returns:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
-1: Invalid argument, result too long, or other error.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0: User Canceled.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1: OK, with file/pathname copied to result buffer.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
2: Like 1, but for output file that is to be appended to.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Notes:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1. preface and prompt should not include final line terminator but may
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
include embedded ones. Help text is in case GUI dialog needs a Help
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
button; final element of help-string array is "".
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
2. The default might be a filename, a directory name, a relative
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pathname, or an absolute pathname. This routine must convert it into
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
into a fully qualified (absolute) pathname so the user knows exactly
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
where the file is to be found or stored. In addition, the Windows
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
version of this routine must separate the directory part from the
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
name part, so it can display the given directory in the file dialog,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
and put name in the filename box to be edited, replaced, or
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
accepted.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
3. When called with FC 4, the Windows version should include "New" and
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Append" buttons in the dialog. so the user can say whether the file
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
should overwrite any file of the same name, or be appended to it.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ANSIC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uq_file(char * preface, char * fprompt, int fc, char ** help,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * dflt, char * result, int rlength)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* CK_ANSIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uq_file(preface,fprompt,fc,help,dflt,result,rlength)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * preface, * fprompt, ** help, * dflt, * result;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int fc, rlength;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ANSIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* uq_file */ {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int rc = -1, x, y, z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * s, * p, * fullpath;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char filebuf[CKMAXPATH+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RECALL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int on_recall;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RECALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( gui_dialog ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = gui_saveas_dialog(preface,fprompt,fc,dflt,result,rlength);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return rc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RECALL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
on_recall = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RECALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (preface) /* If prefatory text given... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s\n",preface); /* display it. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmsavp(psave,PROMPTL); /* Save old prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* We get the full pathname of the proposed output file just so */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* we can show it to the user but we don't use it ourselves. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = NULL; /* Build new prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!dflt) dflt = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*dflt) /* Have default filename */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zfnqfp(dflt,CKMAXPATH+1,filebuf); /* Get full path */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(filebuf,CKMAXPATH+1,zgtdir(),"newfile",NULL,NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fullpath = filebuf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = strlen(fullpath);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* If no prompt given, build one that shows the proposed full pathname. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!fprompt) fprompt = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*fprompt) fprompt = x ? " Filename" : " Filename: ";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = strlen(fprompt);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 0) { /* Have default pathname? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = (char *)malloc(x + y + 7); /* Get temp storage */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p) { /* Build prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(p,x+y+7,fprompt," [",fullpath,"]: ");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fprompt = p;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmsetp(fprompt); /* Make new prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p) free(p); /* Free temp storage */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmini(ckxech); /* Initialize parser. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
do {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prompt(NULL); /* Issue prompt. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (fc) { /* Parse depends on function code */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: /* Input file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmifi("Name of existing file",dflt,&s,&y,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 2: /* Directory */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmdir("Directory name",dflt,&s,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 3: /* New output file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Fall thru... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 4: /* Output file - Append allowed */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmofi("Output file specification",dflt,&s,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = (fc == 4) ? 1 : 2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: /* Bad function code */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto x_uq_file;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) { /* Parse error */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
filebuf[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -4) { /* EOF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x == -3) /* No answer? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(fc == 2 ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" Please enter a directory name.\n" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" Please enter a filename.\n"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmini(ckxech);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = strlen(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z > rlength || ckstrncpy(filebuf,brstrip(s),CKMAXPATH+1) < z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Name too long\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -9;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmcfm(); /* Get confirmation */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fc == 1 && x > -1 && y > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Wildcards not allowed\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -9;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} while (x < 0); /* Continue till done */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x_uq_file:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmsetp(psave); /* Restore real prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rc > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(result,filebuf,rlength);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(rc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_PERMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP( int zsetperm, (char *, int));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* CHMOD command for UNIX only */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_DIR 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_DOT 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_FIL 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_LIS 3
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_NOL 4
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_QUI 5
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_REC 6
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_VRB 7
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_PAG 8
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_NOP 9
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_TYP 10
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define CHM_SIM 11
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab uchmodsw[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/directories", CHM_DIR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/dotfiles", CHM_DOT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/files", CHM_FIL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/list", CHM_LIS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/nolist", CHM_NOL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/nopage", CHM_NOP, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/page", CHM_PAG, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/quiet", CHM_QUI, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/recursive", CHM_REC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/simulate", CHM_SIM, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/type", CHM_TYP, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/verbose", CHM_VRB, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nchmodsw = (sizeof(uchmodsw) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
douchmod() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int recursive, nscanfile, diractive;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_TTGWSIZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tt_rows, tt_cols;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_TTGWSIZ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, files = 1, t1 = 1, t2 = 0, x, y, z, verbose = 0, rc = 1, paging;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int xmode = -1, fs = 0, getval = 0, simulate = 0, wild = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char c, * s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct FDB sw, nu;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xaskmore < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_TTGWSIZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xaskmore = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xaskmore = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_TTGWSIZ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
paging = xaskmore;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&sw, /* First FDB - command switches */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMKEY, /* fcode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Octal file permission code, or switch",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* addtl string data */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nchmodsw, /* addtl numeric data 1: tbl size */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
4, /* addtl numeric data 2: 4 = cmswi */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring, /* Processing function */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uchmodsw, /* Keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&nu /* Pointer to next FDB */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&nu,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMNUM, /* Number */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* Help message */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* Default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* N/A */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
8, /* Radix = 8 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0, /* N/A */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring, /* Processing function */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL, /* N/A */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL /* Next */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfdb(&sw)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -9;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Filename required\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fcode != _CMKEY)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
c = cmgbrk();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
getval = (c == ':' || c == '=');
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (getval && !(cmgkwflgs() & CM_ARG)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?This switch does not take an argument\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval && (cmgkwflgs() & CM_ARG)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?This switch requires an argument\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (cmresult.nresult) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_DIR:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
t1 = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
t2 = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_DOT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
matchdot = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_FIL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
t1 = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
t2 = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_LIS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_VRB:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
verbose = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_NOL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_QUI:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
verbose = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_REC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
recursive = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_PAG:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
verbose = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
paging = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_NOP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
paging = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_SIM:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
simulate = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CHM_TYP: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab txtbin[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(txtbin,3,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == 2) { /* ALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xmode = -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* TEXT or BINARY only */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xmode = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fs = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = cmresult.nresult;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmifi2("File specification","",&s,&wild,t1,NULL,xxstring,t2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?A file specification is required\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,s,TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = tmpbuf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef ZXREWIND
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (wild) files = zxrewind();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (wild) files = nzxpand(s,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ZXREWIND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (paging > -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xaskmore = paging;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_TTGWSIZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (verbose && paging) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ttgcwsz();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ttgwsiz() > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tt_rows > 0 && tt_cols > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmd_rows = tt_rows;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmd_cols = tt_cols;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_TTGWSIZ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < files; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (files == 1 && wild == 0) { /* For "chmod 777 ." */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = znext(line);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i == 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?No files match - \"%s\"\n",line);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fs) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMSORUNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* If /TYPE:TEXT or BINARY given, skip directories and links */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* since they are neither text nor binary. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int zgfs_dir, zgfs_link;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zgetfs(line);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zgfs_dir || zgfs_link)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
continue;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zchki(line) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
continue;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMSORUNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Regular file, scan it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (scanfile(line,&y,nscanfile)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case FT_BIN:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xmode != 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
continue;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case FT_TEXT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case FT_7BIT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case FT_8BIT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNICODE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case FT_UTF8:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case FT_UCS2:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNICODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xmode != 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
continue;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (simulate) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int zchkod; /* Unidentified Flying */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int xx = zchkod; /* API Extension... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zchkod = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zchko(line) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s - Access denied\n",line);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s - OK\n",line);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zchkod = xx;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zsetperm(line,z) < 1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (verbose || files < 2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s: %s\n",line,ck_errstr());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (verbose) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s %s\n",ziperm(line),line);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_TTGWSIZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (verbose && paging) { /* Pause at end of screen */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmd_rows > 0 && cmd_cols > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!askmore())
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_TTGWSIZ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = rc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_PERMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL /* S-Expressions */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSEXP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab sexptab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"depth-limit", 1, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"echo-result", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int sexpmaxdep = 1000; /* Maximum depth */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define xxfloat(s,x) \
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
((isdigit(*s)||(*s=='-')||(*s=='+')||(*s=='.')||(*s=='\040'))?isfloat(s,x):0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_ADD 1 /* Symbols for built-in operators */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_SUB 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_MUL 3
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_DIV 4
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_POW 5
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_SET 6
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_MOD 7
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_EVA 8
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_EXP 9
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_AEQ 10
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_ALT 11
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_AGT 12
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_ALE 13
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_AGE 14
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_MIN 15
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_MAX 16
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_SQR 17
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_FLR 18
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_CEI 19
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_TRU 20
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_ABS 21
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_ROU 22
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_LET 23
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_LGN 24
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_LGX 25
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_FLO 26
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_IFC 27
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_NOT 28
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_NEQ 29
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_AND 30
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_LOR 31
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_SIN 32
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_COS 33
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_TAN 34
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_BWA 35
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_BWO 36
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_BWX 37
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_BWN 38
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_XOR 39
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_INC 40
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_DEC 41
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_QUO 42
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SX_STR 43
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Operator flags */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SXF_PRE 256 /* Predicate */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SXF_ONE 512 /* Requires one arg */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SXF_TWO 1024 /* Requires two args or more */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SXF_FLO 2048 /* Coerce to floating-point */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Built-in constants */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SXC_NIL 1 /* NIL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SXC_PI 2 /* PI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SXC_T 3 /* T */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
This is an xlookup() table and so need not be in "alhabetical" order.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Therefore entries are arranged to minimize search for most common
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
operators.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab sexpops[] = { /* Built-in operators */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"setq", SX_SET, 0, /* Global assignment */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"+", SX_ADD, 0, /* Simple arithmetic */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"-", SX_SUB, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"*", SX_MUL, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/", SX_DIV, SXF_TWO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"^", SX_POW, SXF_TWO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"if", SX_IFC, SXF_TWO, /* IF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"let", SX_LET, 0, /* Local assignment */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"not", SX_NOT, SXF_ONE, /* NOT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"mod", SX_MOD, SXF_TWO, /* Modulus */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"<", SX_ALT, SXF_PRE|SXF_TWO, /* Comparisons */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
">", SX_AGT, SXF_PRE|SXF_TWO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"<=", SX_ALE, SXF_PRE|SXF_TWO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"=", SX_AEQ, SXF_PRE|SXF_TWO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
">=", SX_AGE, SXF_PRE|SXF_TWO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"!=", SX_NEQ, SXF_PRE|SXF_TWO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"++", SX_INC, SXF_ONE|SXF_TWO, /* Increment */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"--", SX_DEC, SXF_ONE|SXF_TWO, /* Decrement */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"**", SX_POW, SXF_TWO, /* Common synonyms */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"==", SX_AEQ, SXF_PRE|SXF_TWO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"!", SX_NOT, SXF_ONE,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
".", SX_EVA, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"and", SX_AND, 0, /* Logical operators */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"or", SX_LOR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xor", SX_XOR, SXF_TWO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"max", SX_MAX, SXF_ONE|SXF_TWO, /* Max and min */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"min", SX_MIN, SXF_ONE|SXF_TWO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"%", SX_MOD, SXF_TWO, /* More synonyms */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"||", SX_LOR, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"&&", SX_AND, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"quote", SX_QUO, SXF_ONE,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"string", SX_STR, SXF_ONE,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"eval", SX_EVA, 0, /* Assorted commands */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"abs", SX_ABS, SXF_ONE,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"truncate",SX_TRU, SXF_ONE|SXF_FLO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"round", SX_ROU, SXF_ONE|SXF_FLO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ceiling", SX_CEI, SXF_ONE|SXF_FLO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"floor", SX_FLR, SXF_ONE|SXF_FLO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"float", SX_FLO, SXF_ONE|SXF_FLO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef FNFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sqrt", SX_SQR, SXF_ONE|SXF_FLO, /* Floating point functions */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"exp", SX_EXP, SXF_ONE|SXF_FLO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"sin", SX_SIN, SXF_ONE|SXF_FLO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cos", SX_COS, SXF_ONE|SXF_FLO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"tan", SX_TAN, SXF_ONE|SXF_FLO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"log", SX_LGN, SXF_ONE|SXF_FLO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"log10", SX_LGX, SXF_ONE|SXF_FLO,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* FNFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"#", SX_BWX, SXF_TWO, /* Bitwise operators */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"&", SX_BWA, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"|", SX_BWO, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"~", SX_BWN, SXF_ONE,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0 /* (end) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsexpops = (sizeof(sexpops) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab sexpconsts[] = { /* Built-in constants */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"nil", SXC_NIL, 0, /* NIL (false) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"pi", SXC_PI, 0, /* Pi (3.1415926...) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"t", SXC_T, 0, /* T (true) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsexpconsts = (sizeof(sexpconsts) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int sexprc = 0; /* S-Expression error flag */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int sexppv = -1; /* Predicate value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SXMLEN 64 /* Macro arg list initial length */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include <math.h> /* Floating-point functions */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP( char * fpformat, (CKFLOAT, int, int) );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char math_pi[]; /* Value of Pi */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sexpecho; /* SET SEXPRESSION ECHO value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * sexpval; /* Last top-level S-Expression value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * lastsexp; /* Last S-Expression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int sexprmax = 0; /* Longest result (for stats) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int sexpdmax = 0; /* Max depth reached (for stats) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int sexpdep = 0; /* dosexp() recursion depth */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int * sxrlen = NULL; /* Result stack string sizes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static char ** sxresult = NULL; /* Result stack */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* s h o s e x p -- Show S-Expression info */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shosexp() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" sexpression echo-result: %s\n",showooa(sexpecho));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" sexpression depth-limit: %d\n",sexpmaxdep);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" maximum depth reached: %d\n",sexpdmax);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" longest result returned: %d\n",sexprmax);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" last sexpression: %s\n",lastsexp ? lastsexp : "(none)");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" last value: %s\n",sexpval ? sexpval : "(none)");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static char *
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexpdebug(s) char * s; {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* For debugging -- includes recursion depth in each debug entry */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static char buf[64];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(buf,64,"dosexp[",ckitoa(sexpdep),"] ",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return((char *)buf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* d o s e x p -- S-Expression Reader */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Returns value as string (empty, numeric, or non-numeric) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dosexp(s) char *s; { /* s = S-Expression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct mtab *mactab; /* Macro table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int maclvl, nmac;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char *mrval[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int makestrlen; /* (see makestr()) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct stringarray * q = NULL; /* cksplit() return type */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p[SEXPMAX+1], ** p2; /* List items (must be on stack) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * line = NULL; /* For building macro argument list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nosplit = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int linelen = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int linepos = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int quote = 0; /* LISP quote flag */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * s2; /* Workers */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int kw, kwflags, mx = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int not = 0, truncate = 0, builtin = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int fpflag = 0, quit = 0, macro = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
CK_OFF_T result = 0, i, j, k, x, n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
CKFLOAT fpj, fpresult = 0.0; /* Floating-point results */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int pflag = 0; /* Have predicate */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int presult = 0; /* Predicate result */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int mustfree = 0; /* If we malloc'd we must free */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexppv = -1; /* Predicate value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = ""; /* Default return value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++sexpdep > sexpmaxdep) { /* Keep track of depth */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?S-Expression depth limit exceeded: %d\n",sexpmaxdep);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,sexpdebug("max depth exceeded"),s,sexprc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sexpdep > sexpdmax) /* For stats */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexpdmax = sexpdep;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sexprc) /* Error, quit all levels */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp; /* Always goto common exit point */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,sexpdebug("entry"),s,sexprc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s) s = ""; /* Null or empty arg */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s == SP) s++; /* Strip leading spaces */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s) /* so empty result */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Allocate result stack upon first use, or after it has been resized with
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
SET SEXP DEPTH-LIMIT.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!sxresult) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sxresult = (char **)malloc(sexpmaxdep * sizeof(char *));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!sxresult) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Memory allocation failure - \"%s\"\n", s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sxrlen = (int *)malloc(sexpmaxdep * sizeof(int));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!sxrlen) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Memory allocation failure - \"%s\"\n", s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < sexpmaxdep; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sxresult[i] = NULL; /* Result pointers */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sxrlen[i] = 0; /* Buffer sizes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = s; /* s2 is the result pointer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = 0; /* Length accumulator */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[0] == '(') { /* Starts with open paren? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s2++) k++; /* Get length */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[k-1] == ')') { /* Strip outer parens if any */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s[k-1] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k -= 2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s == SP) { /* Strip leading spaces from result */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k--;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (k > 0 && s[k-1] == SP) { /* And trailing spaces. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s[k-1] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k--;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s) { /* If nothing remains */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = ""; /* return empty result. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Break result up into "words" (an SEXP counts as a word) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[0] = NULL; /* (We don't use element 0) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*(s+1) || !*(s+2)) { /* No need to call cksplit() */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n = 1; /* if it's one or two chars. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[1] = s; /* No need to malloc this either. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nosplit = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,sexpdebug("nosplit"),"",n);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[0] == '(') { /* () empty */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nosplit = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
q = cksplit(1,SEXPMAX,s,NULL,"\\%[]&$+-/=*^_@!{}/<>|.#~'`:;?",8,39,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!q)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n = q->a_size; /* Number of items */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,sexpdebug("split"),"",n);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n < 0 || n > SEXPMAX) { /* Check for too many */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Too many operands: max = %d\n",SEXPMAX);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n == 0) /* None, result is NULL, done. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n == 1 && s[0] == '(') { /* One but it's another SEXP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p2 = q->a_head; /* Point to result array. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 1; i <= n; i++) { /* We must copy it because */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[i] = NULL; /* recursive calls to dosexp() */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p2[i]) /* write over the same array */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(p[i]),p2[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[0] == '(') { /* Operator is an S-Expression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(p[1]); /* Replace it by its value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(p[1]),s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mustfree++; /* Remember to free it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,sexpdebug("head"),p[1],0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n == 1 && p[1]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*(p[1]) == '\047') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = p[1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
This section sidesteps xlookup() of the most common operators.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
It's not necessary but it speeds up SEXP-heavy loops by about 10%.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
kwflags = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n > 0) { /* Look up the operator */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = p[1]; /* Prelookup optimization... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s2)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
kw = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (isdigit(*s2)) { /* Digit */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (isalpha(*s2) && !*(s2+1)) { /* Single letter */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (*s2 == 's' || *s2 == 'S') { /* SETQ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 == 'e' || *s2 == 'E') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 == 't' || *s2 == 'T') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 == 'q' || *s2 == 'Q') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*(s2+1)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = SX_SET;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
kwflags = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
builtin = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*(s2+1)) { /* Common single-character ops */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 == '+') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = SX_ADD;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
kwflags = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
builtin = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (*s2 == '-') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = SX_SUB;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
kwflags = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
builtin = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (*s2 == '*') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = SX_MUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
kwflags = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
builtin = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (*s2 == '/') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = SX_DIV;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
kwflags = SXF_TWO;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
builtin = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!x) { /* None of the above, look it up */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = xlookup(sexpops,p[1],nsexpops,&kw);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,"XXX",p[1],x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
kwflags = sexpops[kw].flgs;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
builtin = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* If none of the above, check built-in constants */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = xlookup(sexpconsts,p[1],nsexpconsts,&kw);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SXC_NIL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SXC_PI:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = math_pi;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SXC_T:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = "1";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n == 1) { /* Not an expression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (builtin) { /* Built-in operand? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) { /* Operators with default values */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_EVA:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_MUL: /* (*) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = sexpval ? sexpval : "1";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_AND: /* (AND) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_BWA: /* Bitwise (&) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_LOR: /* (OR) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_BWO: /* Bitwise (|) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_ADD: /* (+) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_SUB: /* (-) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = result ? "1" : "0";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Not a built-in operand */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p1 = p[1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*p1 == SP) p1++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!isalpha(*p1)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xxfloat(p1,0) > 0) { /* Is it a number? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = p1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s2 == '+') s2++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (*p1 == '(') { /* An S-Expression? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(p1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x < 1) { /* Is it a variable? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
j = mxlook(mactab,p[1],nmac); /* Look it up */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,sexpdebug("n==1 mxlook"),p[1],j);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = (j > -1) ? mactab[j].mval : "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2) s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xxfloat(s2,0) > 0) /* Macro value is a number */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j > -1) { /* It's a macro */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mx = j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = j; /* whose definition is not numeric */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 == '(') { /* Is it an S-Expression? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* We have to allocate memory on the stack */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* to call ourselves recursively on it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* otherwise we'll wipe out the macro definition */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * s3 = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* int k = 0; */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s3 = s2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s3++) k++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s3 = (char *)malloc(k + 4);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(s3,s2); /* SAFE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(s3); /* Evaluate it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(s3);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Memory allocation failure - \"%s\"\n",s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 == '\047') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Dumps core if petty optimization was taken */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(p[1]),s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!nosplit && p[1]) free(p[1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[1] = (char *)malloc((int)strlen(s2) + 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = p[1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2) s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 == '(') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s2[makestrlen-1] == ')') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2[makestrlen-1] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,sexpdebug("'A"),s2,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
macro++; /* Not an S-Expression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Not found in macro table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Not defined - \"%s\"\n", p[1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x < 1 && !macro) { /* n > 1 and not a built-in operator */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = mxlook(mactab,p[1],nmac); /* See if it's a macro */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,sexpdebug("n!=1 mxlook"),p[1],x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Invalid operand - \"%s\"\n",p[1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mx = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
macro++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (builtin) { /* Built-in operator... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kwflags) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int flgs;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((flgs = (kwflags & (SXF_ONE|SXF_TWO)))) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (flgs) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case (SXF_ONE|SXF_TWO):
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n < 2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Too few operands - \"%s\"\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SXF_TWO:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n < 3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Too few operands - \"%s\"\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SXF_ONE:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n != 2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Too %s operands - \"%s\"\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(n > 2) ? "many" : "few", s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kwflags & SXF_PRE) { /* Predicate? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pflag = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kwflags & SXF_FLO) /* Operator requires floating point */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++; /* Force it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == SX_SET || x == SX_LET || /* Assignment is special */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x == SX_INC || x == SX_DEC) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int rc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char c, * m, * s3;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n == 1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 1; i < n; i += 2) { /* Loop thru operand pairs */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s3 = p[i+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
c = *s3;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,sexpdebug("target p"),s3,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Make sure target doesn't have multiple words */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s3) { if (*s3 < '!') { rc = 1; break; }; s3++; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s3 = p[i+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rc) { /* If it does it must have been */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * s4; /* an SEXP so evaluate it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s3 = dosexp(s3);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s4 = s3;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s4) { if (*s4 < '!') { rc = 1; break; }; s4++; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rc == 0) makestr(&(p[i+1]),s3);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* And that it's not a number, etc. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rc > 0 || isdigit(c) || c == '(') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Invalid assignment - \"%s\"\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (isalpha(c)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = xlookup(sexpconsts,s3,nsexpconsts,NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rc > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Assignment to constant - \"%s\"\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* If ++ or --, get current value of variable */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == SX_INC || x == SX_DEC) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ok = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char buf[32];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (c == CMDQ) { /* A backslash variable */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int n = 32;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * s = buf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
buf[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zzstring(s3,&s,&n) < 0 || !buf[0])
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ok = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = buf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* A macro */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((k = mxlook(mactab,s3,nmac)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ok = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = mactab[k].mval;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!ok) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Not defined - \"%s\"\n",p[i+1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2) s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = xxfloat(s2,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k < 1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Not numeric - \"%s\"\n",p[i+1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s2 == '+') s2++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = ckatofs(s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = floatval;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k > 1 || fpresult != result)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n < i+2) { /* Variable with no value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == SX_SET || x == SX_LET) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
delmac(p[i+1],1); /* Delete the variable */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = "1";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Variable with value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = xxfloat(p[i+2],0); /* Is it a number? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = p[i+2];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s2 == '+') s2++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(p[i+2]); /* Have value, evaluate it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sexprc) goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2) s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s2 && (x == SX_INC || x == SX_DEC))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
continue;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == SX_INC || x == SX_DEC) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = xxfloat(s2,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k < 1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Not numeric - \"%s\"\n",s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s2 == '+') s2++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
j = ckatofs(s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k > 1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj = floatval;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj = (CKFLOAT)j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == SX_INC) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result += j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult += fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x == SX_DEC) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result -= j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult -= fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef FNFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result != fpresult) fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* FNFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = fpflag ? fpformat(fpresult,0,0) : ckfstoa(result);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == SX_LET && cmdlvl > 0) /* LET makes var local */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
addlocal(p[i+1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((rc = addmac(p[i+1],s2)) < 0) { /* Add the value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (rc) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case -3: m = "Array not declared"; break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case -2: m = "Subscript out of range"; break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case -4: m = "Out of memory"; break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: m = "Error creating variable";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?%s - \"%s\"\n",m,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s2) result = ckatofs(s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x == SX_IFC) { /* Conditional expression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int true = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n > 4) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Too many operands: IF - \"%s\"\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(p[2]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sexprc) goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
j = ckatofs(s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xxfloat(s2,0) == 2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (CKFLOAT)result;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj = floatval;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj = atof(s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
true = ((fpj != 0.0) ? 1 : 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!true && n < 4) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(true ? p[3] : p[4]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sexprc) goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
j = s2 ? ckatofs(s2) : 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xxfloat(s2,0) == 2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (CKFLOAT)result;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj = floatval;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj = s2 ? atof(s2) : 0.0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x == SX_QUO) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int xx;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xx = strlen(p[2]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[3] = (char *)malloc(xx+4);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = p[3];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(p[3],xx+4,"'(",p[2],")",NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = p[2];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x == SX_STR) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int xx;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(p[2]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sexprc) goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xx = strlen(s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[3] = (char *)malloc(xx+4);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(p[3],xx+4,"'(",s2,")",NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = p[3];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Arithmetic operator or macro - Loop thru operands */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
quit = 0; /* Short-circuit flag. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (macro && n > 1) { /* If operator is a macro */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!line) { /* allocate local buffer for */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line = (char *)malloc(SXMLEN); /* the evaluated argument list. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!line) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Memory allocation failure - \"%s\"\n",p[1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
linelen = SXMLEN;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* debug(F101,"dosexp macro arg buffer","",linelen); */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
linepos = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line[linepos] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 1; ((i < n) && !sexprc && !quit); i++) { /* Loop thru operands */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
quote = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = p[i+1]; /* Get operand */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2) s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 == '\047') { /* Is it quoted? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,sexpdebug("'B"),s2,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2++; /* Space past the quote */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
quote++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 == '(') { /* Quoted S-Expression? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char c4, * s4 = s2+1; /* Strip outer parens */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while ((c4 = *s4++)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (c4 == ')' && !*s4) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*(s4-1) = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,sexpdebug("'C"),s2,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Not quoted */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(p[i+1]); /* evaluate it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sexprc) goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2) s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!macro && x == SX_EVA)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
continue;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 != '\047') { /* Is it quoted? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(p[i+1]); /* No, evaluate it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sexprc) goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2) s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!macro && x == SX_EVA)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
continue;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 == '\047') { /* Is result quoted? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,sexpdebug("'B"),s2,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2++; /* Space past the quote */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
quote++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2 == '(') { /* Quoted S-Expression? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char c4, * s4 = s2+1; /* Strip outer parens */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while ((c4 = *s4++)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (c4 == ')' && !*s4) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*(s4-1) = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,sexpdebug("'C"),s2,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (macro) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,sexpdebug("macro arg"),s2,i);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s2) quote++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!quote) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
register char c4, * s4 = s2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while ((c4 = *s4++)) if (c4 == SP) { quote++; break; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (quote) line[linepos++] = '{';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while ((line[linepos++] = *s2++)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (linepos > linelen - 3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * tmp = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line[linepos] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
linelen += SXMLEN;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmp = (char *) malloc(linelen);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!tmp) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Memory re-allocation failure - \"%s...\"\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(tmp,line);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(line);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line = tmp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
linepos--; /* Back up over NUL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (quote)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line[linepos++] = '}'; /* End quote group */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line[linepos++] = SP; /* add a space */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line[linepos] = NUL; /* and a NUL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
continue;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!quote) { /* Built-in operator... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = dosexp(s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sexprc) goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2) s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == SX_EVA)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
continue;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* An empty value is not a legal number */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* but it is a legal truth value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != SX_AND && x != SX_LOR && x != SX_NOT) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Not Numeric - \"%s\"\n",p[i+1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
j = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj = 0.0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
j = ckatofs(s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Switch to floating-point upon encountering any f.p. arg */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* OR... if integer is too big */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!fpflag) if (xxfloat(s2,0) == 2)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj = atof(s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i == 1) { /* Initial result is first operand */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = (n == 2 && x == SX_SUB) ? 0-j : j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (n == 2 && x == SX_SUB) ? -fpj : fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x == SX_AND && result == 0) || /* Short circuit */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(x == SX_LOR && result != 0))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
quit++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!(kwflags & SXF_ONE)) /* Command with single arg */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
continue;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == SX_MOD || x == SX_DIV) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!result)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!fpj) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Divide by zero - \"%s\"\n",cmdbuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) { /* Accumulate result */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_EVA: /* EVAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_ADD: /* + */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result += j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult += fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef FNFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result != fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* FNFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_SUB: /* - */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result -= j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult -= fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef FNFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result != fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* FNFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_MUL: /* * */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result *= j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult *= fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef FNFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result != fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* FNFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_AND: /* AND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = result && j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!result) quit++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpresult && fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_LOR: /* OR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = result || j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!result) quit++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpresult || fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_MOD: /* Modulus */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = result % j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef FNFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (CKFLOAT)fmod(fpresult,fpj);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result != fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = result;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* FNFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_DIV: /* / */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result /= j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult /= fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef FNFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result != fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* FNFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_AEQ: /* Test for equality */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpflag) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpresult != fpj)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result != j)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_NEQ: /* Test for ineqality */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpflag) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpresult == fpj)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result == j)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_ALE: /* Arithmetic less-equal */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpflag) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpj < fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j < result)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_ALT: /* Arithmetic less-than */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpflag) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpj <= fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j <= result)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_AGT: /* Arithmetic greater-than */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpflag) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpj >= fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j >= result)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_AGE: /* Arithmetic greater-equal */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpflag) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpj > fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j > result)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
presult = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_POW: /* Raise to power */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef FNFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
double dummy;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!fpj) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = 1.0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if ((!fpresult && fpj <= 0.0)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Divide by zero - \"%s\"\n",cmdbuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (fpresult < 0.0 && modf(fpj,&dummy)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Domain error - \"%s\"\n",cmdbuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (CKFLOAT)pow(fpresult,fpj);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* FNFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j == 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
CK_OFF_T z, sign = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result == 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Divide by zero - \"%s\"\n",cmdbuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
j = 0 - j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sign++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = result;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (--j > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result *= z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sign)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = 1 / result;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef FNFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result != fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* FNFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef FNFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_EXP: /* e to the given power */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (CKFLOAT) exp(fpj);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_LGN: /* Natural log */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_LGX: /* Log base 10 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_SQR: /* Square root */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpj < 0.0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Argument out of range - \"%s\"\n",cmdbuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == SX_SQR)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (CKFLOAT) sqrt(fpj);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (x == SX_LGN)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (CKFLOAT) log(fpj);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (CKFLOAT) log10(fpj);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_SIN: /* sine */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (CKFLOAT) sin(fpj);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_COS: /* cosine */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (CKFLOAT) cos(fpj);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_TAN: /* tangent */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (CKFLOAT) tan(fpj);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* FNFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_CEI: /* Ceiling */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j != fpj)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpj > 0.0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj += 1.0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
truncate = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_FLR: /* Floor */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j != fpj)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpj < 0.0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj -= 1.0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
truncate = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_TRU: /* Truncate */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
truncate = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_ROU: /* Round */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpj > 0.0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj += 0.5;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (fpj < 0.0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj -= 0.5;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
truncate = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_ABS: /* Absolute value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = (j < 0) ? 0 - j : j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef FNFLOAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = (fpj < 0.0) ? 0.0 - fpj : fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result != fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* FNFLOAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_MAX: /* Max */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j != fpj)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpflag) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpj > fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j > result)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_MIN: /* Min */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j != fpj)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpflag) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpj < fpresult)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = fpj;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j < result)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_FLO: /* Float */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpresult = result;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpj = j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_NOT: /* NOT (reverse truth value) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
not++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_BWA: /* Bitwise AND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result &= j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_BWO: /* Bitwise OR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result |= j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_BWX: /* Bitwise XOR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_XOR: /* Logical XOR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n > 3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Too many operands - \"%s\"\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == SX_BWX) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result ^= j;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = (result && !j) || (!result && j);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (result) result = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SX_BWN: /* Bitwise Not */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fpflag = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
result = ~result;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("BAD OP [%s]\n",p[1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!pflag) /* Not a predicate */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexppv = -1; /* So unset this */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* domacro: */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (macro) { /* User-defined macro */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int fsexpflag; /* (see fneval():ckuus4.c) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int lookagain = 0; /* Maybe the macro table changed */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (mactab[mx].kwd) { /* Check and see */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ckstrcmp(mactab[mx].kwd,p[1],-1,0))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
lookagain++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
lookagain++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (lookagain) { /* The table changed */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mx = mxlook(mactab,p[1],nmac); /* Get the macro's new index */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,sexpdebug("macro moved"),p[1],mx);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (mx < 0) { /* Yikes! */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Macro disappeared! - \"%s\"\n",p[1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xdosexp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,sexpdebug("macro mx"),mactab[mx].kwd,mx);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fsexpflag) { /* If embedded in a function call */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmpush() > -1) { /* get a new copy of the parsing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ifc; /* environment, */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int k, ifcsav = ifc; /* save the IF state */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dodo(mx,line,0); /* Set up the macro */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = parser(1); /* Call the parser to execute it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmpop(); /* Pop back to previous level */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ifc = ifcsav; /* restore IF state */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k == 0) /* If no error */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = mrval[maclvl+1]; /* get return value, if any */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2) s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,sexpdebug("macro return"),s2,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Resources exhausted - \"%s\"\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Not embedded in a function call */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dodo(mx,line,0); /* As above but without cmpush/pop() */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = parser(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k == 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = mrval[maclvl+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2) s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (pflag) { /* Predicate */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (not) presult = presult ? 0 : 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexppv = presult; /* So set predicate value (0 or 1) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = presult ? "1" : "0";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (fpflag) { /* Result is floating-point */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (not) fpresult = fpresult ? 0.0 : 1.0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = fpformat(fpresult,0,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x != SX_EVA) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (not) result = result ? 0 : 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2 = ckfstoa(result);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Common exit point. Always come here to exit. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xdosexp:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s2) s2 = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!sexprc && s2) { /* Have a result */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * sx;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * q2 = s2; int xx = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*q2++) xx++; /* Get length */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xx > sexprmax) /* (stats) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprmax = xx;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xx = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xx > sxrlen[sexpdep] || !sxresult[sexpdep]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int k;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = xx + xx / 4;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k < 32) k = 32;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sxresult[sexpdep])
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(sxresult[sexpdep]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((sxresult[sexpdep] = (char *)malloc(k))) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sxrlen[sexpdep] = k;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Memory allocation failure - \"%s\"\n",s2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexprc++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sx = sxresult[sexpdep]; /* Point to result buffer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while ((*sx++ = *s2++)) ; /* copy result. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fpflag && truncate) { /* Floating point + truncate */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sx = sxresult[sexpdep]; /* at decimal point */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = xx - 1; i >= 0; i--) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sx[i] == '.') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sx[i] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i == 0) { /* If nothing left */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sx[0] = '0'; /* put a zero. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sx[1] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (line) /* If macro arg buffer allocated */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(line); /* free it. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (mustfree) { /* And free local copy of split list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 1; i <= n; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p[i]) free(p[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,sexpdebug("exit"),sxresult[sexpdep],sexprc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(sxresult[sexpdep--]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSEXP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int /* CHECK command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dochk() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x, y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(ftrtab,nftr,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,atmbuf,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOPUSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!ckstrcmp(line,"push",(int)strlen(line),0)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (msgflg) /* If at top level... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" push%s available\n", nopush ? " not" : "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (nopush && !backgrd)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" CHECK: push not available\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1 - nopush);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOPUSH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PIPESEND
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!ckstrcmp(line,"pipes",(int)strlen(line),0)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (msgflg) /* If at top level... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" pipes%s available\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nopush || protocol != PROTO_K) ? " not" : "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if ((nopush || protocol != PROTO_K) && !backgrd)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" CHECK: pipes not available\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1 - nopush);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PIPESEND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = lookup(ftrtab,line,nftr,&x); /* Look it up */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,"dochk",ftrtab[x].kwd,y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (msgflg) /* If at top level... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %s%s available\n", ftrtab[x].kwd, y ? " not" : "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (y && !backgrd)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" CHECK: %s not available\n", ftrtab[x].kwd);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1 - y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKLOGDIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Connection log and elapsed-time reporting */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char cxlogbuf[]; /* Log record buffer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char diafil[]; /* Log file name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int dialog, cx_active; /* Flags */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static long cx_prev = 0L; /* Elapsed time of previous session */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKLOGDIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dologend() { /* Write record to connection log */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef LOCUS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int locus, autolocus;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* LOCUS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKLOGDIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long d1, d2, t1, t2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char buf[32], * p;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKLOGDIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef LOCUS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (autolocus) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x = locus;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NEWFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ftpisconnected();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologend ftpisconnected","",ftpisconnected());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setlocus(ftpisconnected() ? 0 : 1, 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setlocus(1,1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NEWFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* LOCUS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKLOGDIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologend dialog","",dialog);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologend cxlogbuf[0]","",cxlogbuf[0]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKSYSLOG
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologend ckxlogging","",ckxlogging);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKSYSLOG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!cx_active || !cxlogbuf[0]) /* No active record */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cx_active = 0; /* Record is not active */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,"dologend cxlogbuf 1",cxlogbuf,cx_active);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
d1 = mjd((char *)cxlogbuf); /* Get start date of this session */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(buf,ckdate(),31); /* Get current date */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
d2 = mjd(buf); /* Convert them to mjds */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = cxlogbuf; /* Get start time */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[11] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[14] = NUL; /* Convert to seconds */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
t1 = atol(p+9) * 3600L + atol(p+12) * 60L + atol(p+15);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[11] = ':';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[14] = ':';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = buf; /* Get end time */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[11] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[14] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
t2 = atol(p+9) * 3600L + atol(p+12) * 60L + atol(p+15);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
t2 = ((d2 - d1) * 86400L) + (t2 - t1); /* Compute elapsed time */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologend t2","",t2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (t2 > -1L) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cx_prev = t2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = hhmmss(t2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"dologend hhmmss",p,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncat(cxlogbuf,"E=",CXLOGBUFL); /* Append to log record */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncat(cxlogbuf,p,CXLOGBUFL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"dologend cxlogbuf 2",cxlogbuf,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cx_prev = 0L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologend cx_prev","",cx_prev);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialog) { /* If logging */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = diaopn(diafil,1,1); /* Open log in append mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologend diaopn","",x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = zsoutl(ZDIFIL,cxlogbuf); /* Write the record */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologend zsoutl","",x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = zclose(ZDIFIL); /* Close the log */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologend zclose","",x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKSYSLOG
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologend ckxlogging","",ckxlogging);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ckxlogging) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = ckindex("T=DIAL",cxlogbuf,0,0,1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,"dologend ckxsyslog",cxlogbuf,ckxsyslog);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,"dologend ckindex","T=DIAL",x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ckxsyslog >= SYSLG_DI) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"dologend syslog",cxlogbuf+18,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cksyslog(SYSLG_DI,1,"CONNECTION",(char *)(cxlogbuf+18),"");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (ckxsyslog >= SYSLG_AC) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"dologend syslog",cxlogbuf+18,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cksyslog(SYSLG_AC,1,"CONNECTION",(char *)(cxlogbuf+18),"");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKSYSLOG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKLOGDIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKLOGDIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* D O L O G S H O W -- Show session/connection info */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Call with fc == 1 to show, fc == 0 to only calculate. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Returns session elapsed time in seconds. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* If no session active, returns elapsed time of previous session, if any, */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* otherwise 0 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dologshow(fc) int fc; { /* SHOW (current) CONNECTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long d1, d2, t1, t2 = 0, prev;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char c, buf1[32], buf2[32], * info[32], * p, * s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * xlogbuf, xbuf[CXLOGBUFL+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, x = 0, z, ftp = 0, active = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NEWFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char ftplogbuf[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern long ftplogprev;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ftplogactive;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fc & W_FTP) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fc &= 63;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ftp = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xlogbuf = ftplogbuf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prev = ftplogprev;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
active = ftplogactive;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NEWFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ftp = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xlogbuf = cxlogbuf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prev = cx_prev;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
active = cx_active;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NEWFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NEWFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologshow local","",local);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologshow ftp","",ftp);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,"dologshow active",xlogbuf,active);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!xlogbuf[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fc) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (didsetlin || ftp)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %s: No record.\n", ftp ? "FTP" : "Kermit");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %s: No connection.\n", ftp ? "FTP" : "Kermit");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(prev);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NEWFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ftp) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = ftpisconnected() ? 1 : -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NEWFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (local) { /* See if we have an open connection */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = ttchk();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"dologshow ttchk","",z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = (z > -1) ? 1 : -2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = active ? 1 : -2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NEWFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NEWFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z < 0L) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!fc)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(prev);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
t2 = prev;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Note: NOT ckstrncpy! */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strncpy(buf1,xlogbuf,17); /* Copy of just the timestamp */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
buf1[17] = NUL; /* Terminate it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(xbuf,xlogbuf+18,CXLOGBUFL); /* Copy that can be poked */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,"dologshow prev",xbuf,prev);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xwords(xbuf,31,info,1); /* Break up into fields */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
d1 = mjd(buf1); /* Convert start time to MJD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(buf2,ckdate(),31); /* Current date */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
d2 = mjd(buf2); /* Convert to MJD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = buf1; /* Point to start time */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[11] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[14] = NUL; /* Convert to seconds */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
t1 = atol(p+9) * 3600L + atol(p+12) * 60L + atol(p+15);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[11] = ':';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[14] = ':';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = buf2; /* Ditto for current time */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[11] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[14] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z > -1L) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
t2 = atol(p+9) * 3600L + atol(p+12) * 60L + atol(p+15);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
t2 = ((d2 - d1) * 86400L) + (t2 - t1); /* Elapsed time so far */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fc) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (t2 > -1L) /* Convert seconds to hh:mm:ss */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = hhmmss(t2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z > -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "Active";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (z == -2)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "Closed";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "Unknown";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n"); /* Show results */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Status: %s\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Opened: %s\n",buf1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" User: %s\n",info[1] ? info[1] : "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" PID: %s\n",info[2] ? info[2] : "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 3; info[i]; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
c = info[i][0];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = (info[i]) ? info[i]+2 : "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (c) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 'T': printf(" Type: %s\n", s); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 'N': printf(" To: %s\n", s); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 'H': printf(" From: %s\n", s); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 'D': printf(" Device: %s\n", s); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 'O': printf(" Origin: %s\n", s); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 'E': break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: printf(" %s\n",info[i] ? info[i] : "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z < 0L)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Elapsed time: %s\n", hhmmss(t2));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Elapsed time: %s\n", p ? p : "(unknown)");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCONN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( IS_SSH() ) x++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENCRYPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ck_tn_encrypting() && ck_tn_decrypting()) x++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENCRYPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tls_active_flag || ssl_active_flag) x++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef RLOGCODE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_KERBEROS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENCRYPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ttnproto == NP_EK4LOGIN || ttnproto == NP_EK5LOGIN) x++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENCRYPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_KERBEROS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* RLOGCODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCONN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Encrypted: %s\n", x ? "Yes" : "No");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Log: %s\n", dialog ? diafil : "(none)");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(t2 > -1L ? t2 : 0L);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dologline() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int n, m = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dologend(); /* Previous session not closed out? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cx_active = 1; /* Record is active */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cx_prev = 0L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = ckdate(); /* Get timestamp */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n = ckstrncpy(cxlogbuf,p,CXLOGBUFL-1); /* Start record off with it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!uidbuf[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F100,"dologline uidbuf empty","",0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX /* Who has whoami()... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(uidbuf,(char *)whoami(),UIDBUFLEN);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef STRATUS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(uidbuf,(char *)whoami(),UIDBUFLEN);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(uidbuf,"UNKNOWN",UIDBUFLEN);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* STRATUS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
m = strlen(uidbuf) + strlen(myhost) + strlen(ttname) + 32;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n+m < CXLOGBUFL-1) { /* Add serial device info */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = cxlogbuf+n;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sprintf(p," %s %s T=SERIAL H=%s D=%s ", /* SAFE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uidbuf,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckgetpid(),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
myhost,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ttname
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(cxlogbuf,"LOGLINE BUFFER OVERFLOW",CXLOGBUFL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"dologline",cxlogbuf,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCONN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dolognet() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p, * s = "NET", * uu = uidbuf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int n, m;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dologend(); /* Previous session not closed out? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cx_prev = 0L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cx_active = 1; /* Record is active */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = ckdate();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n = ckstrncpy(cxlogbuf,p,CXLOGBUFL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TCPSOCKET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (nettype == NET_TCPB || nettype == NET_TCPA)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "TCP";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TCPSOCKET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef ANYX25
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (nettype == NET_SX25 || nettype == NET_VX25 || nettype == NET_IX25)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "X25";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ANYX25 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DECNET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (nettype == NET_DEC)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "DECNET";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DECNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SUPERLAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (nettype == NET_SLAT)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "SUPERLAT";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SUPERLAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NETBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (nettype == NET_BIOS)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "NETBIOS";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NETBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!uu[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F100,"dolognet uidbuf empty","",0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2ORUNIX /* Who has whoami()... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uu = (char *)whoami();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef STRATUS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uu = (char *)whoami();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uu = "UNKNOWN";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* STRATUS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
m = strlen(uu) + strlen(myhost) + strlen(ttname) + strlen(s) + 32;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n+m < CXLOGBUFL-1) { /* SAFE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = cxlogbuf+n;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sprintf(p," %s %s T=%s N=%s H=%s ",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
uu,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckgetpid(),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ttname,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
myhost
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(cxlogbuf,"LOGNET BUFFER OVERFLOW",CXLOGBUFL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"dolognet cxlogbuf",cxlogbuf,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCONN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKLOGDIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NODIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Parse a DIAL-related string, stripping enclosing braces, if any.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialstr(p,msg) char **p; char *msg; {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt(msg, "", &s, xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s); /* Strip braces around. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"dialstr",s,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(p,*s?s:NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
initmdm(x) int x; {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
MDMINF * p;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int m;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mdmtyp = x; /* Set global modem type */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"initmdm mdmtyp","",mdmtyp);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"initmdm usermdm","",usermdm);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 1) return;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
m = usermdm ? usermdm : mdmtyp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = modemp[m]; /* Point to modem info struct, and */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* debug(F101,"initmdm p","",p); */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialec = p->capas & CKD_EC; /* set DIAL ERROR-CORRECTION, */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialdc = p->capas & CKD_DC; /* DIAL DATA-COMPRESSION, and */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mdmspd = p->capas & CKD_SB ? 0 : 1; /* DIAL SPEED-MATCHING from it. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialfc = FLO_AUTO; /* Modem's local flow control.. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialmax = p->max_speed;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialcapas = p->capas;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialesc = p->esc_char;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (mdmtyp > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("WARNING: modem info for \"%s\" not filled in yet\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
gmdmtyp()
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Reset or set the SET DIAL STRING items ... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DEBUG
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (deblog) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialini",dialini,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialmstr ",dialmstr,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialmprmt",dialmprmt,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialcmd",dialcmd,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialdcon",dialdcon,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialdcoff",dialdcoff,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialecon",dialecon,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialecoff",dialecoff,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialhcmd",dialhcmd,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialhwfc",dialhwfc,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialswfc",dialswfc,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialnofc",dialnofc,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialtone",dialtone,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialpulse",dialpulse,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialname",dialname,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialaaon",dialaaon,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialaaoff",dialaaoff,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialx3",dialx3,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialspon",dialspon,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialspoff",dialspoff,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialvol1",dialvol1,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialvol2",dialvol2,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialvol3",dialvol3,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"initmdm dialini2",dialini2,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DEBUG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (usermdm && p) { /* USER-DEFINED: copy info from specified template */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialini ,p->wake_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialmstr ,p->dmode_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialmprmt,p->dmode_prompt);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialcmd ,p->dial_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialdcon ,p->dc_on_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialdcoff,p->dc_off_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialecon ,p->ec_on_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialecoff,p->ec_off_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialhcmd ,p->hup_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialhwfc ,p->hwfc_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialswfc ,p->swfc_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialnofc ,p->nofc_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialtone ,p->tone);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialpulse,p->pulse);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialname ,"This space available (use SET MODEM NAME)");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialaaon ,p->aa_on_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialaaoff,p->aa_off_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialx3 ,p->ignoredt);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialspon ,p->sp_on_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialspoff,p->sp_off_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialvol1 ,p->vol1_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialvol2 ,p->vol2_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialvol3 ,p->vol3_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialini2 ,p->ini2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Not user-defined, so wipe out overrides */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialini) makestr(&dialini,NULL); /* Init-string */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialmstr) makestr(&dialmstr,NULL); /* Dial-mode-str */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialmprmt) makestr(&dialmprmt,NULL); /* Dial-mode-pro */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialcmd) makestr(&dialcmd,NULL); /* Dial-command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialdcon) makestr(&dialdcon,NULL); /* DC ON command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialdcoff) makestr(&dialdcoff,NULL); /* DC OFF command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialecon) makestr(&dialecon,NULL); /* EC ON command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialecoff) makestr(&dialecoff,NULL); /* EC OFF command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialhcmd) makestr(&dialhcmd,NULL); /* Hangup command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialhwfc) makestr(&dialhwfc,NULL); /* Flow control... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialswfc) makestr(&dialswfc,NULL); /* */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialnofc) makestr(&dialnofc,NULL); /* */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialtone) makestr(&dialtone,NULL); /* Dialing method */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialpulse) makestr(&dialpulse,NULL); /* */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialname) makestr(&dialname,NULL); /* Modem name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialaaon) makestr(&dialaaon,NULL); /* Autoanswer On */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialaaoff) makestr(&dialaaoff,NULL); /* Autoanswer Off */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialx3) makestr(&dialx3,NULL); /* Ignore dialtone */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialspon) makestr(&dialspon,NULL); /* Speaker On */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialspoff) makestr(&dialspoff,NULL); /* Speaker Off */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialvol1) makestr(&dialvol1,NULL); /* Low volume */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialvol2) makestr(&dialvol2,NULL); /* Medium volume */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialvol3) makestr(&dialvol3,NULL); /* High volume */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialini2) makestr(&dialini2,NULL); /* Init string 2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (autoflow) /* Maybe change flow control */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setflow();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef MINIDIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OLDTBCODE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tbmodel = 0; /* If it's a Telebit, we don't know the model yet */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OLDTBCODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* MINIDIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Not implemented yet */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setanswer() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x, y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ans_cid, ans_ring;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(answertab,nanswertab,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYA_CID:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&ans_cid));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYA_RNG:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("How many rings before answering","1",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = setnum(&ans_rings,x,y,254);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setmodem() { /* SET MODEM */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x, y, z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long zz;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct FDB k1, k2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int mdmset;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&k1,_CMKEY,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Modem parameter","","",nsetmdm, 0, xxstring, setmdm, &k2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&k2,_CMKEY,"","","",nmdm,0,xxstring,mdmtab,NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmfdb(&k1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) { /* Error */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -2 || x == -9)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?No keywords match: \"%s\"\n",atmbuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmresult.nresult; /* Keyword value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fdbaddr == &k2) { /* Modem-type keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
usermdm = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
initmdm(cmresult.nresult); /* Set the modem type. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1); /* Done */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (cmresult.nresult) { /* SET MODEM keyword table. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef MDMHUP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDMHU: /* DIAL MODEM-HANGUP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(mdmhang,4,"how to hang up modem",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"modem-command", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialmhu = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Nope, I fixed it (2001 11 08) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SCOV5
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialmhu == 0 && !quiet) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"\n WARNING: RS-232 signal sampling and manipulation do not work\n"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" in the standard SCO OSR5 serial i/o drivers. SET MODEM HANGUP-METHOD\n"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" MODEM-COMMAND is recommended for OSR5.\n\n"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SCOV5 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* MDMHUP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDCAP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = 0L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (y != -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(mdmcap,nmdmcap,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"capability of modem", "", xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz |= y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialcapas = zz;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"setmodem autoflow","",autoflow);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"setmodem flow 1","",flow);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (autoflow) /* Maybe change flow control */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setflow();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"setmodem flow 2","",flow);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mdmspd = zz & CKD_SB ? 0 : 1; /* Set MODEM SPEED-MATCHING from it. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDMAX:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && istncomport())
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmkey(tnspdtab,ntnspd,line,"",xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmkey(spdtab,nspd,line,"",xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) printf("?value required\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialmax = (long) x * 10L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialmax == 70) dialmax = 75;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDSTR: /* These moved from SET DIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDDC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDEC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDESC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDFC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDKSP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDSPD:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDDIA:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setdial(x));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDTYP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(mdmtab,nmdm,"modem type","none", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == dialudt) { /* User-defined modem type */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(mdmtab,nmdm,"based on existing modem type",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"unknown", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
usermdm = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
usermdm = (y == dialudt) ? x : 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
initmdm(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mdmset = (mdmtyp > 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDNAM:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialname,"Descriptive name for modem"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDMCD: /* SET MODEM CARRIER-WATCH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setdcd());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDSPK: /* SET MODEM SPEAKER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&mdmspk));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDVOL: /* SET MODEM VOLUME */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(voltab,3,"","medium",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mdmvol = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Unexpected SET MODEM parameter\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int /* Set DIAL command options */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setdial(y) int y; {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x = 0, z = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(dialtab,ndial,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDHUP: /* DIAL HANGUP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&dialhng));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDINI: /* DIAL INIT-STRING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialini,"Modem initialization string"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDNPR: /* DIAL PREFIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialnpr,"Telephone number prefix"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDDIA: /* DIAL DIAL-COMMAND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmtxt("Dialing command for modem,\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
include \"%s\" to stand for phone number,\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for example, \"set dial dial-command ATDT%s\\13\"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&s,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0 && x != -3) /* Handle parse errors */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s); /* Strip braces or quotes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = x = strlen(s); /* Get length of text */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y > 0) { /* If there is any text (left), */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < y; x++) { /* make sure they included "%s" */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[x] != '%') continue;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[x+1] == 's') break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"?Dial-command must contain \"%cs\" for phone number.\n",'%');
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialcmd) { /* Free any previous string. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(dialcmd);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialcmd = (char *) 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialcmd = malloc(y + 1); /* Allocate space for it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialcmd)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(dialcmd,s); /* and make a safe copy. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDKSP: /* DIAL KERMIT-SPOOF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&dialksp));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDTMO: /* DIAL TIMEOUT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Seconds to wait for call completion","0",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Kermit/modem timeout differential","10",10,&z,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialtmo = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mdmwaitd = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDESC: /* DIAL ESCAPE-CHARACTER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("ASCII value of character to escape back to modem",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"43",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = setnum(&dialesc,x,y,128);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y > -1 && dialesc < 0) /* No escape character */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialmhu = 0; /* So no hangup by modem command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDDPY: /* DIAL DISPLAY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&dialdpy));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDSPD: /* DIAL SPEED-MATCHING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* used to be speed-changing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&mdmspd)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mdmspd = 1 - mdmspd; /* so here we reverse the meaning */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDMNP: /* DIAL MNP-ENABLE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDEC: /* DIAL ERROR-CORRECTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = seton(&dialec);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!dialec) dialdc = 0; /* OFF also turns off compression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDDC: /* DIAL COMPRESSION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = seton(&dialdc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialdc) dialec = 1; /* ON also turns on error correction */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef MDMHUP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDMHU: /* DIAL MODEM-HANGUP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&dialmhu));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* MDMHUP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDDIR: /* DIAL DIRECTORY (zero or more) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(parsdir(0)); /* 0 means DIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDSTR: /* DIAL STRING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(mdmcmd,nmdmcmd,"","",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_AN: /* Autoanswer ON/OFF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_DC: /* Data compression ON/OFF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_EC: /* Error correction ON/OFF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(onoff,2,"","on",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sprintf(tmpbuf,"Modem's command to %sable %s", /* SAFE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x ? "en" : "dis",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(y == XYDS_DC) ? "compression" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
((y == XYDS_EC) ? "error-correction" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"autoanswer")
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == XYDS_DC)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialdcon,tmpbuf));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (y == XYDS_EC)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialecon,tmpbuf));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialaaon,tmpbuf));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == XYDS_DC)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialdcoff,tmpbuf));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (y == XYDS_EC)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialecoff,tmpbuf));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialaaoff,tmpbuf));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_HU: /* hangup command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialhcmd,"Modem's hangup command"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_HW: /* hwfc */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialhwfc,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Modem's command to enable hardware flow control"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_IN: /* init */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialini,"Modem's initialization string"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_NF: /* no flow control */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialnofc,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Modem's command to disable local flow control"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_PX: /* prefix */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialnpr,"Telephone number prefix for dialing"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_SW: /* swfc */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialswfc,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Modem's command to enable local software flow control"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_DT: /* tone dialing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialtone,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Command to configure modem for tone dialing"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_DP: /* pulse dialing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialpulse,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Command to configure modem for pulse dialing"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_MS: /* dial mode string */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialmstr,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Command to enter dial mode"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_MP: /* dial mode prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialmprmt,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Modem response upon entering dial mode"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_SP: /* SPEAKER OFF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(onoff,2,"","on",xxstring)) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialspon,"Command to turn modem speaker on"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialspoff,"Command to turn modem speaker off"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_VO: /* VOLUME LOW */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(voltab,3,"","medium",xxstring)) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialvol1,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Command for low modem speaker volume"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 2:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialvol2,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Command for medium modem speaker volume"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 3:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialvol3,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Command for high modem speaker volume"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_ID: /* IGNORE-DIALTONE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialx3,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Command to tell modem to ignore dialtone"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDS_I2: /* PREDIAL-INIT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialini2,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Command to send to modem just prior to dialing"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Unexpected SET DIAL STRING parameter\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDFC: /* DIAL FLOW-CONTROL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(dial_fc,4,"","auto",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialfc = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDMTH: { /* DIAL METHOD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int dialmauto;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(dial_m,ndial_m,"","default",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == XYDM_A) { /* AUTO */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialmauto = 1; /* local country code, if known. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialmth = XYDM_D;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialmauto = 0; /* use the method specified */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialmth = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDRTM:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Number of times to try dialing a number",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"1",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = setnum(&dialrtr,x,y,-1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z > -1 && dialrtr < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, negative dial retries not valid: %d\n",dialrtr);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDINT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Seconds to wait between redial attempts",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"30",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = setnum(&dialint,x,y,-1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z > -1 && dialint < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, negative dial interval not valid: %d\n",dialint);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDLAC: /* DIAL AREA-CODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = dialstr(&diallac,"Area code you are calling from")) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (diallac) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!rdigits(diallac)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, area code must be numeric\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*diallac == '(')
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("(please omit the parentheses)\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*diallac == '/')
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("(no slashes, please)\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (diallac) free(diallac);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
diallac = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDCNF: /* CONFIRMATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&dialcnf));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDCVT: /* CONVERT-DIRECTORY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(dcnvtab,3,"","ask",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialcvt = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDLCC: /* DIAL COUNTRY-CODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = dialstr(&diallcc,"Country code you are calling from");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 1) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (diallcc) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!rdigits(diallcc)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, country code must be numeric\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*diallcc == '+')
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("(please omit the plus sign)\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (diallcc) free(diallcc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
diallcc = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!strcmp(diallcc,"1")) { /* Set defaults for USA and Canada */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!dialldp) /* Long-distance prefix */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialldp,"1");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!dialixp) /* International dialing prefix */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialixp,"011");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ntollfree == 0) { /* Toll-free area codes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((dialtfc[0] = malloc(4))) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(dialtfc[0],"800"); /* 1970-something */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ntollfree++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((dialtfc[1] = malloc(4))) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(dialtfc[1],"888"); /* 1996 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ntollfree++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((dialtfc[2] = malloc(4))) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(dialtfc[2],"877"); /* 5 April 1998 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ntollfree++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((dialtfc[3] = malloc(4))) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(dialtfc[3],"866"); /* 2000? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ntollfree++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!dialtfp) /* Toll-free dialing prefix */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialtfp,"1");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* The time for this is past */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (!strcmp(diallcc,"358") &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
((int) strcmp(zzndate(),"19961011") > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) { /* Finland */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!dialldp) /* Long-distance prefix */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialldp,"9");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!dialixp) /* International dialing prefix */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialixp,"990");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Everywhere else ... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!dialldp) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((dialldp = malloc(4)))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(dialldp,"0");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!dialixp) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((dialixp = malloc(4)))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(dialixp,"00");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!strcmp(diallcc,"33")) /* France */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialfld = 1; /* Long-distance dialing is forced */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDIXP: /* DIAL INTL-PREFIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialixp,"International dialing prefix"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDIXS: /* DIAL INTL-SUFFIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialixs,"International dialing suffix"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDLDP: /* DIAL LD-PREFIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialldp,"Long-distance dialing prefix"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDLDS: /* DIAL LD-SUFFIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&diallds,"Long-distance dialing suffix"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDLCP: /* DIAL LC-PREFIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&diallcp,"Local dialing prefix"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDLCS: /* DIAL LC-SUFFIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&diallcs,"Local dialing suffix"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDPXX: /* DIAL PBX-EXCHANGE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialpxx,"Exchange of PBX you are calling from"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDPXI: { /* DIAL PBX-INTERNAL-PREFIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialpxi,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Internal-call prefix of PBX you are calling from"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt("Internal-call prefix of PBX you are calling from",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",&s,NULL)) < 0) /* Don't evaluate */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char c, * p = tmpbuf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s == '\\') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
c = *(s+1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (isupper(c)) c = tolower(c);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (c != 'f' &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrcmp(s,"\\v(d$px)",8,0) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrcmp(s,"\\v(d$pxx)",9,0) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrcmp(s,"\\v(d$p)",7,0)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = TMPBUFSIZ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zzstring(s,&p,&x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = tmpbuf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialpxi,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDPXO: /* DIAL PBX-OUTSIDE-PREFIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialpxo,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Outside-line prefix of PBX you are calling from"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDSFX: /* DIAL INTL-SUFFIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialsfx," Telephone number suffix for dialing"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDSRT: /* DIAL SORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&dialsrt));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDPXX: /* DIAL PBX-EXCHANGE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDTFC: { /* DIAL TOLL-FREE-AREA-CODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int n, i; /* (zero or more of them...) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p[MAXTOLLFREE]; /* Temporary pointers */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * m;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (n = 0; n < MAXTOLLFREE; n++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n == 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
m = (y == XYDTFC) ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Toll-free area code(s) in the country you are calling from"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
: "Exchange(s) of PBX you are calling from";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
m = (y == XYDTFC) ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Another toll-free area code"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
: "Another PBX exchange";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfld(m,"",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int k;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = (int) strlen(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((p[n] = malloc(k + 1)))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(p[n], s); /* safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) { /* Command was successful */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int m;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
m = (y == XYDTFC) ? ntollfree : ndialpxx;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < m; i++) { /* Remove old list, if any */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == XYDTFC)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(dialtfc[i]),NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(dialpxx[i]),NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == XYDTFC)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ntollfree = n; /* New count */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ndialpxx = n;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < n; i++) { /* New list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == XYDTFC)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(dialtfc[i]),p[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(dialpxx[i]),p[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < n; i++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p[i]) free(p[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDTFP: /* TOLL-FREE-PREFIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dialstr(&dialtfp,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" Long-distance prefix for toll-free dialing"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDCON: /* CONNECT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(crrtab,ncrr,"","auto",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != CAR_OFF) /* AUTO or ON? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(qvtab,nqvt,"","verbose",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z > -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialcq = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialcon = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDRSTR: /* RESTRICT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(drstrtab,4,"","none",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialrstr = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDLLAC: { /* Local area-code list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int n, i; /* (zero or more of them...) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p[MAXLOCALAC]; /* Temporary pointers */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (n = 0; n < MAXLOCALAC; n++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfld(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Area code to which calls from your area are local",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int k;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = (int) strlen(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((p[n] = malloc(k + 1)))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(p[n], s); /* safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) { /* Command was successful */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < nlocalac; i++) /* Remove old list, if any */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (diallcac[i]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(diallcac[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
diallcac[i] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nlocalac = n; /* New count */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < nlocalac; i++) /* New list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
diallcac[i] = p[i];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Parse error, undo everything */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < n; i++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p[i]) free(p[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDFLD:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&dialfld));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDIDT: /* DIAL IGNORE-DIALTONE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&dialidt));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDPAC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Milliseconds to pause between each character sent to dialer",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setnum(&dialpace,x,y,9999));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDMAC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfld("Name of macro to execute just prior to dialing",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",&s,xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&dialmac,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDPUCC: /* Pulse country codes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDTOCC: { /* Tone country codes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int n, i;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p[MAXTPCC];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * m;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (n = 0; n < MAXTPCC; n++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n == 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
m = (y == XYDPUCC) ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Country code where Pulse dialing is required"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
: "Country code where Tone dialing is available";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
m = "Another country code";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfld(m,"",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int k;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = (int) strlen(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((p[n] = malloc(k + 1)))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(p[n], s); /* safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) { /* Command was successful */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int m;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
m = (y == XYDPUCC) ? ndialpucc : ndialtocc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < m; i++) { /* Remove old list, if any */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == XYDPUCC)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(dialpucc[i]),NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(dialtocc[i]),NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == XYDPUCC) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ndialpucc = n; /* New count */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ndialtocc = n;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < n; i++) { /* New list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == XYDPUCC) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(dialpucc[i]),p[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(dialtocc[i]),p[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < n; i++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p[i]) free(p[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDTEST:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&dialtest));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Unexpected SET DIAL parameter\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSHOW
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int /* SHOW MODEM */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shomodem() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
MDMINF * p;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x, n, mdm;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char c;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long zz;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, command disabled\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shmdmlin();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mdm = (mdmtyp > 0) ? mdmtyp : mdmsav;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = (mdm > 0) ? modemp[mdm] : NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %s\n\n", dialname ? dialname : p->name);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Modem capabilities: ");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = dialcapas ? dialcapas : p->capas;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!zz) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" (none)");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz & CKD_AT) printf(" AT");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz & CKD_V25) printf(" ITU");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz & CKD_SB) printf(" SB");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz & CKD_EC) printf(" EC");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz & CKD_DC) printf(" DC");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz & CKD_HW) printf(" HWFC");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz & CKD_SW) printf(" SWFC");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz & CKD_KS) printf(" KS");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz & CKD_TB) printf(" TB");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n Modem carrier-watch: ");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (carrier == CAR_OFF) printf("off\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (carrier == CAR_ON) printf("on\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (carrier == CAR_AUT) printf("auto\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else printf("unknown\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Modem maximum-speed: ");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = (dialmax > 0L) ? dialmax : p->max_speed;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%ld bps\n", zz);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("(unknown)\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Modem error-correction: %s\n", dialec ? "on" : "off");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Modem compression: %s\n", dialdc ? "on" : "off");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Modem speed-matching: %s", mdmspd ? "on" : "off");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" (interface speed %s)\n", mdmspd ? "changes" : "is locked");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Modem flow-control: ");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dialfc == FLO_NONE) printf("none\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (dialfc == FLO_XONX) printf("xon/xoff\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (dialfc == FLO_RTSC) printf("rts/cts\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (dialfc == FLO_AUTO) printf("auto\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Modem hangup-method: %s\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dialmhu ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"modem-command" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"rs232-signal"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Modem speaker: %s\n", showoff(mdmspk));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Modem volume: %s\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(mdmvol == 2) ? "medium" : ((mdmvol <= 1) ? "low" : "high"));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Modem kermit-spoof: %s\n", dialksp ? "on" : "off");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
c = (char) (x = (dialesc ? dialesc : p->esc_char));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Modem escape-character: %d", x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (isprint(c))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" (= \"%c\")",c);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"\n\nMODEM COMMANDs (* = set automatically by SET MODEM TYPE):\n\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"show dialini",dialini,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Init-string: ", dialini ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialini ? dialini : p->wake_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Dial-mode-string: ", dialmstr ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialmstr ? dialmstr : p->dmode_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n = local ? 19 : 20;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Dial-mode-prompt: ", dialmprmt ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialmprmt ? dialmprmt : p->dmode_prompt);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Dial-command: ", dialcmd ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialcmd ? dialcmd : p->dial_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Compression on: ", dialdcon ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!dialdcon)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"dialdcon","(null)",0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"dialdcon",dialdcon,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialdcon ? dialdcon : p->dc_on_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Compression off: ", dialdcoff ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialdcoff ? dialdcoff : p->dc_off_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Error-correction on: ", dialecon ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialecon ? dialecon : p->ec_on_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Error-correction off: ", dialecoff ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialecoff ? dialecoff : p->ec_off_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Autoanswer on: ", dialaaon ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialaaon ? dialaaon : p->aa_on_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Autoanswer off: ", dialaaoff ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialaaoff ? dialaaoff : p->aa_off_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Speaker on: ", dialspon ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialspon ? dialspon : p->sp_on_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Speaker off: ", dialspoff ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialspoff ? dialspoff : p->sp_off_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Volume low: ", dialvol1 ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialvol1 ? dialvol1 : p->vol1_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Volume medium: ", dialvol2 ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialvol2 ? dialvol2 : p->vol2_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Volume high: ", dialvol3 ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialvol3 ? dialvol3 : p->vol3_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Hangup-command: ", dialhcmd ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialhcmd ? dialhcmd : p->hup_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Hardware-flow: ", dialhwfc ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialhwfc ? dialhwfc : p->hwfc_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Software-flow: ", dialswfc ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialswfc ? dialswfc : p->swfc_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c No-flow-control: ", dialnofc ? ' ' : '*' );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialnofc ? dialnofc : p->nofc_str);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Pulse: ", dialpulse ? ' ' : '*');
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialpulse ? dialpulse : p->pulse);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Tone: ", dialtone ? ' ' : '*');
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialtone ? dialtone : p->tone);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Ignore-dialtone: ", dialx3 ? ' ' : '*');
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialx3 ? dialx3 : p->ignoredt);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 3) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %c Predial-init: ", dialini2 ? ' ' : '*');
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shods(dialini2 ? dialini2 : p->ini2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > cmd_rows - 4) if (!askmore()) return(0); else n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n For more info: SHOW DIAL and SHOW COMMUNICATIONS\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (mdm > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Modem info for \"%s\" not filled in yet\n", gmdmtyp());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" No modem selected, so DIAL and most SET MODEM commands have no effect.\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Use SET MODEM TYPE to select a modem.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSHOW */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NODIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_TAPI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int /* TAPI action commands */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dotapi() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x,y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!TAPIAvail) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\nTAPI is unavailable on this system.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(tapitab,ntapitab,"MS TAPI command","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_CFG: { /* TAPI CONFIGURE-LINE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab * tapilinetab;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab * _tapilinetab;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ntapiline;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int LineDeviceId;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int lineID=LineDeviceId;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (TAPIAvail)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cktapiBuildLineTable(&tapilinetab, &_tapilinetab, &ntapiline);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tapilinetab && _tapilinetab && ntapiline > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i=0, j = 9999, k = -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( LineDeviceId == -1 ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Find out what the lowest numbered TAPI device is */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* and use it as the default. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < ntapiline; i++ ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tapilinetab[i].kwval < j) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = i;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Find the LineDeviceId in the table and use that entry */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < ntapiline; i++ ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tapilinetab[i].kwval == LineDeviceId) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
k = i;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k >= 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = _tapilinetab[k].kwd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(_tapilinetab,ntapiline,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"TAPI device name",s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
lineID = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, command disabled\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ISKD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cktapiConfigureLine(lineID);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_DIAL: /* TAPI DIALING-PROPERTIES */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, command disabled\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ISKD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cktapiDialingProp();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int /* SET TAPI command options */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
settapi() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x, y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!TAPIAvail) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\nTAPI is unavailable on this system.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(settapitab,nsettapitab,"MS TAPI option","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_USE:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return (success = seton(&tapiusecfg));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_LGHT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return (success = seton(&tapilights));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_PRE:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return (success = seton(&tapipreterm));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_PST:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return (success = seton(&tapipostterm));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_INA:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("seconds of inactivity before auto-disconnect",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"0",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setnum(&tapiinactivity,x,y,65535));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_BNG:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("seconds to wait for credit card tone",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"8",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setnum(&tapibong,x,y,90));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_MAN:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return (success = seton(&tapimanual));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_CON: /* TAPI CONVERSIONS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return (success = setonaut(&tapiconv));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_LIN: /* TAPI LINE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = setlin(XYTAPI_LIN,1,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > -1) didsetlin++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_PASS: { /* TAPI PASSTHROUGH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NODIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?Modem-dialing not supported\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* NODIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Passthrough became Modem-dialing which is an antonym */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = seton(&tapipass);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tapipass = !tapipass;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return (success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NODIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI_LOC: { /* TAPI LOCATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char tapiloc[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tapilocid;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i = 0, j = 9999, k = -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cktapiBuildLocationTable(&tapiloctab, &ntapiloc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!tapiloctab || !ntapiloc) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\nNo TAPI Locations are configured for this system\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tapilocid == -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tapilocid = cktapiGetCurrentLocationID();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Find the current tapiloc entry */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* and use it as the default. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (k = 0; k < ntapiloc; k++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tapiloctab[k].kwval == tapilocid)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (k >= 0 && k < ntapiloc)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = tapiloctab[k].kwd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(tapiloctab,ntapiloc, "TAPI location",s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, command disabled\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cktapiFetchLocationInfoByID( y );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NODIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
CopyTapiLocationInfoToKermitDialCmd();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NODIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success=1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_TAPI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ANSIC /* SET ALARM */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setalarm(long xx)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setalarm(xx) long xx;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ANSIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* setalarm */ {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int yyyy, mm, dd, x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long zz;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char buf[6];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long sec, jd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char xbuf[20], * p;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"setalarm xx","",xx);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ck_alarm = 0L; /* 0 = no alarm (in case of error) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xx < 0L) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%ld - illegal value, must be 0 or positive\n", xx);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xx == 0L) { /* CLEAR ALARM */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
alrm_date[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
alrm_time[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 8; /* Get current date */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = alrm_date;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zzstring("\\v(ndate)",&s,&x) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Internal date error, sorry.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
alrm_date[0] = SP;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 5; /* Get current time */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = alrm_time;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zzstring("\\v(ntime)",&s,&x) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Internal time error, sorry.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
alrm_time[0] = SP;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sprintf(buf,"%05ld",atol(alrm_time)); /* SAFE (20) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(alrm_time,buf,8);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"SET ALARM date (1)",alrm_date,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"SET ALARM time (1)",alrm_time,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((zz = atol(alrm_time) + xx) < 0L) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Internal time conversion error, sorry.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz >= 86400L) { /* Alarm crosses midnight */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char d[10]; /* Local date buffer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int lastday; /* Last day of this month */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(d,alrm_date,8); /* We'll have to change the date */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = (zz / 86400L); /* How many days after today */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dd = atoi((char *)(d+6)); /* Parse yyyymmdd */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
d[6] = NUL; /* into yyyy, mm, dd ... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mm = atoi((char *)(d+4));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
d[4] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
yyyy = atoi((char *)d);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* How many days in this month */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
lastday = mdays[mm];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (mm == 2 && yyyy % 4 == 0) /* Works thru 2099 AD... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
lastday++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dd + x > lastday) { /* Dumb loop */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x -= (mdays[mm] - dd); /* Deduct rest of this month's days */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* There's a more elegant way to do this... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mm++; /* Next month */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (mm > 12) { /* Wrap around */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
mm = 1; /* Jan, next year */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
yyyy++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = mdays[mm]; /* Days in new month */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (mm == 2 && yyyy % 4 == 0) /* Feb in leap year */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y++; /* Works until 2100 AD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x - y < 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x -= y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dd = x; /* Day of alarm month */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else dd += x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sprintf(alrm_date,"%04d%02d%02d",yyyy,mm,dd); /* SAFE (24) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = zz % 86400L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sprintf(alrm_time,"%ld",zz); /* SAFE (24) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"SET ALARM date (2)",alrm_date,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"SET ALARM time (2)",alrm_time,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ck_alarm = xx;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Jul 1998 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(xbuf,ckcvtdate("",1),20); /* Get current date and time */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = xbuf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(alrm_date,xbuf,10);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
alrm_date[8] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sec = atol(p+9) * 3600L + atol(p+12) * 60L + atol(p+15);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"SET ALARM date (1)",alrm_date,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"SET ALARM time (1)","",sec);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((sec += xx) < 0L) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Internal time conversion error, sorry.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sec >= 86400L) { /* Alarm crosses midnight */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long days;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
days = sec / 86400L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
jd = mjd(p) + days; /* Get modified Julian date */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(alrm_date,mjd2date(jd),10);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sec %= 86400L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sprintf(alrm_time,"%05ld",sec); /* SAFE (24) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"SET ALARM date (2)",alrm_date,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"SET ALARM time (2)",alrm_time,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ck_alarm = 1; /* Alarm is set */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSETKEY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dosetkey() { /* SET KEY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x, y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int flag = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int kc; /* Key code */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *s; /* Key binding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOKVERBS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *p; /* Worker */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOKVERBS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int os2gks;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int mskkeys;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int initvik;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x_ifnum = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("numeric key code, or the word CLEAR,","",10,&kc,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x_ifnum = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F111,"SET KEY",atmbuf,y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -2) { /* Not a valid number */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = strlen(atmbuf)) < 0) /* Check for SET KEY CLEAR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ckstrcmp(atmbuf,"clear",y,0))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (y = 0; y < KMSIZE; y++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
keymap[y] = (KEY) y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
macrotab[y] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
keymapinit(); /* Special OS/2 initializations */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
initvik = 1; /* Update the VIK table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (y == -3) { /* SET KEY <Return> */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Press key to be defined: "); /* Prompt for a keystroke */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NOSETBUF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fflush(stdout);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSETBUF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
conbin((char)escape); /* Put terminal in binary mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
os2gks = 0; /* Turn off Kverb preprocessing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
kc = congks(0); /* Get character or scan code */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
os2gks = 1; /* Turn on Kverb preprocessing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
concb((char)escape); /* Restore terminal to cbreak mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kc < 0) { /* Check for error */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Error reading key\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shokeycode(kc,-1); /* Show current definition */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shokeycode(kc); /* Show current definition */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
flag = 1; /* Remember it's a multiline command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else /* Error */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Normal SET KEY <scancode> <value> command... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (mskkeys)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
kc = msktock(kc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kc < 0 || kc >= KMSIZE) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?key code must be between 0 and %d\n", KMSIZE - 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kc == escape) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, %d is the CONNECT-mode escape character\n",kc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
wideresult = -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (flag) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmsavp(psave,PROMPTL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmsetp(" Enter new definition: ");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmini(ckxech);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmflgs = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prompt(NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
def_again:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (flag)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmres();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("key definition,\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or Ctrl-C to cancel this command,\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or Enter to restore default definition",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",&s,NULL)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (flag) /* Handle parse errors */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto def_again;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOKVERBS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = s; /* Save this place */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOKVERBS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
If the definition included any \Kverbs, quote the backslash so the \Kverb
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
will still be in the definition when the key is pressed. We don't do this
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
in zzstring(), because \Kverbs are valid only in this context and nowhere
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
We use this code active for all versions that support SET KEY, even if they
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
don't support \Kverbs, because otherwise \K would behave differently for
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
different versions.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0, y = 0; s[x]; x++, y++) { /* Convert \K to \\K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x > 0) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(s[x] == 'K' || s[x] == 'k')
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) { /* Have K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x == 1 && s[x-1] == CMDQ) ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(x > 1 && s[x-1] == CMDQ && s[x-2] != CMDQ)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line[y++] = CMDQ; /* Make it \\K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 1 && s[x-1] == '{' && s[x-2] == CMDQ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line[y-1] = CMDQ; /* Have \{K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line[y++] = '{'; /* Make it \\{K */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line[y] = s[x];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line[y++] = NUL; /* Terminate */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = line + y + 1; /* Point to after it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = LINBUFSIZ - (int) strlen(line) - 1; /* Calculate remaining space */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x < (LINBUFSIZ / 2)) ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(zzstring(line, &s, &x) < 0)) { /* Expand variables, etc. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Key definition too long\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (flag) cmsetp(psave);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = line + y + 1; /* Point to result. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOKVERBS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Special case: see if the definition starts with a \Kverb.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
If it does, point to it with p, otherwise set p to NULL.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*p++ == CMDQ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*p == '{') p++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = (*p == 'k' || *p == 'K') ? p + 1 : NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOKVERBS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (macrotab[kc]) { /* Possibly free old macro from key. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free((char *)macrotab[kc]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
macrotab[kc] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (strlen(s)) { /* Action depends on length */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0: /* Reset to default binding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
keymap[kc] = (KEY) kc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: /* Single character */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
keymap[kc] = (CHAR) *s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: /* Character string */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOKVERBS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = xlookup(kverbs,p,nkverbs,&x); /* Look it up */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"set key kverb lookup",0,y); /* exact match required */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y > -1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
keymap[kc] = F_KVERB | y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOKVERBS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
keymap[kc] = (KEY) kc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
macrotab[kc] = (MACRO) malloc(strlen(s)+1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (macrotab[kc])
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy((char *) macrotab[kc], s); /* safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (flag) cmsetp(psave);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
initvik = 1; /* Update VIK table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSETKEY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef STOPBITS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab stoptbl[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "1", 1, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "2", 2, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* STOPBITS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab sertbl[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "7E1", 0, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "7E2", 1, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "7M1", 2, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "7M2", 3, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "7O1", 4, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "7O2", 5, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "7S1", 6, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "7S2", 7, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef HWPARITY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "8E1", 9, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "8E2", 10, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* HWPARITY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "8N1", 8, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef HWPARITY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "8N2", 11, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "8O1", 12, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "8O2", 13, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* HWPARITY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsertbl = (sizeof(sertbl) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static char * sernam[] = { /* Keep this in sync with sertbl[] */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"7E1", "7E2", "7M1", "7M2", "7O1", "7O2", "7S1", "7S2",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"8N1", "8E1", "8E2", "8N2", "8O1", "8O2"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab optstab[] = { /* SET OPTIONS table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOFRILLS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "delete", XXDEL, 0}, /* DELETE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOFRILLS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "directory", XXDIR, 0}, /* DIRECTORY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKPURGE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "purge", XXPURGE, 0}, /* PURGE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKPURGE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "type", XXTYP, 0}, /* TYPE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int noptstab = (sizeof(optstab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
PROTOCOL SELECTION. Kermit is always available. If CK_XYZ is defined at
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
compile time, then the others become selections also. In OS/2 and
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Windows, they are integrated and the various SET commands (e.g. "set file
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
type") affect them as they would Kermit. In other OS's (UNIX, VMS, etc),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
they are external protocols which are run via Kermit's REDIRECT mechanism.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
All we do is collect and verify the filenames and pass them along to the
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
external protocol.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab protos[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_XYZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"g", PROTO_G, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_XYZ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"kermit", PROTO_K, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_XYZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"other", PROTO_O, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"x", PROTO_X, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xmodem", PROTO_X, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"xmodem-crc", PROTO_XC, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"y", PROTO_Y, CM_INV|CM_ABR,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ymodem", PROTO_Y, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ymodem-g", PROTO_G, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"zmodem", PROTO_Z, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_XYZ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nprotos = (sizeof(protos) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define XPCMDLEN 71
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP(static int protofield, (char *, char *, char *));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_PROTOTYP(static int setproto, (void));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
protofield(current, help, px) char * current, * help, * px; {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *s, tmpbuf[XPCMDLEN+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (current) /* Put braces around default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(tmpbuf,TMPBUFSIZ,"{",current,"}",NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmpbuf[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfld(help, (char *)tmpbuf, &s, xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((int)strlen(s) > XPCMDLEN) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry - maximum length is %d\n", XPCMDLEN);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (*s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(px,s); /* safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
px = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setproto() { /* Select a file transfer protocol */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* char * s = NULL; */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x = 0, y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char s1[XPCMDLEN+1], s2[XPCMDLEN+1], s3[XPCMDLEN+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char s4[XPCMDLEN+1], s5[XPCMDLEN+1], s6[XPCMDLEN+1], s7[XPCMDLEN+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p1 = s1, * p2 = s2, *p3 = s3;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p4 = s4, * p5 = s5, *p6 = s6, *p7 = s7;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef XYZ_INTERNAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int p_avail;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef CK_REDIR
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_REDIR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* XYZ_INTERNAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s1[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s2[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s3[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s4[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s5[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s6[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(protos,nprotos,"","kermit",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x && y != PROTO_K) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"?Sorry, REDIRECT capability required for external protocols.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = protofield(ptab[y].h_b_init,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Optional command to send to host prior to uploading in binary mode",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p1)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
protocol = y; /* Set protocol but don't change */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1); /* anything else */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = protofield(ptab[y].h_t_init,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Optional command to send to host prior to uploading in text mode",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p2)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto protoexit;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == PROTO_K) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = protofield(ptab[y].h_x_init,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Optional command to send to host to start Kermit server",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p3)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto protoexit;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef XYZ_INTERNAL /* If XYZMODEM are external... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != PROTO_K) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = protofield(ptab[y].p_b_scmd,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"External command to SEND in BINARY mode with this protocol",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p4)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto protoexit;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = protofield(ptab[y].p_t_scmd,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"External command to SEND in TEXT mode with this protocol",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p5)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto protoexit;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = protofield(ptab[y].p_b_rcmd,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"External command to RECEIVE in BINARY mode with this protocol",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p6)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto protoexit;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = protofield(ptab[y].p_t_rcmd,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"External command to RECEIVE in TEXT mode with this protocol",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p7)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto protoexit;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* XYZ_INTERNAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) /* Confirm the command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
protoexit: /* Common exit from this routine */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef XYZ_INTERNAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!p_avail) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
bleep(BP_WARN);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?X,Y, and Zmodem are unavailable\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* XYZ_INTERNAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p1 = brstrip(p1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p2 = brstrip(p2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p3 = brstrip(p3);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p4 = brstrip(p4);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p5 = brstrip(p5);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p6 = brstrip(p6);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p7 = brstrip(p7);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
initproto(y,p1,p2,p3,p4,p5,p6,p7);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setdest() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x, y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(desttab,ndests,"","disk",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dest = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DECNET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab dnettab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef OS2ONLY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cterm", NP_CTERM, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2ONLY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"lat", NP_LAT, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ndnet = (sizeof(dnettab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DECNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* S E T P R I N T E R -- SET PRINTER command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PRINTSWI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab prntab[] = { /* SET PRINTER switches */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/bidirectional", PRN_BID, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/character-set", PRN_CS, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/command", PRN_PIP, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/dos-device", PRN_DOS, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/end-of-job-string",PRN_TRM, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/file", PRN_FIL, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPRINT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/flow-control", PRN_FLO, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPRINT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/job-header-file", PRN_SEP, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/length", PRN_LEN, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/none", PRN_NON, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/nopostscript", PRN_RAW, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/nops", PRN_RAW, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/output-only", PRN_OUT, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPRINT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/parity", PRN_PAR, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPRINT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/pipe", PRN_PIP, CM_ARG|CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/postscript", PRN_PS, 0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/ps", PRN_PS, CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/separator", PRN_SEP, CM_ARG|CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPRINT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/speed", PRN_SPD, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPRINT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/timeout", PRN_TMO, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/terminator", PRN_TRM, CM_ARG|CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/w", PRN_WIN, CM_ARG|CM_ABR|CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/wi", PRN_WIN, CM_ARG|CM_ABR|CM_INV,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/width", PRN_WID, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/windows-queue", PRN_WIN, CM_ARG,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 0, 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nprnswi = (sizeof(prntab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PRINTSWI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setprinter(xx) int xx; {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x, y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * defname = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int prncs;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPRINT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char portbuf[64];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long portspeed = 0L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int portparity = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int portflow = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPRINT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PRINTSWI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int c, i, n, wild, confirmed = 0; /* Workers */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int getval = 0; /* Whether to get switch value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct stringint pv[PRN_MAX+1]; /* Temporary array for switch values */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct FDB sw, of, cm; /* FDBs for each parse function */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int haveque = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int typeset = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PRINTSWI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct keytab * printtab = NULL, * _printtab = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nprint = 0, printdef=0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
defname = "PRN"; /* default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
defname = "LPT:";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
defname = "|lpr";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PRINTSWI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
haveque = Win32EnumPrt(&printtab,&_printtab,&nprint,&printdef);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
haveque = haveque && nprint;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i <= PRN_MAX; i++) { /* Initialize switch values */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[i].sval = NULL; /* to null pointers */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[i].ival = -1; /* and -1 int values */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[i].wval = (CK_OFF_T)-1; /* and -1 wide values */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xx == XYBDCP) { /* SET BPRINTER == /BIDIRECTIONAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_BID].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_OUT].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Initialize defaults based upon current printer settings */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (printername) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
defname = printername;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (printertype) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRT_WIN: pv[PRN_WIN].ival = 1; break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRT_DOS: pv[PRN_DOS].ival = 1; break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRT_PIP: pv[PRN_PIP].ival = 1; break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRT_FIL: pv[PRN_FIL].ival = 1; break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRT_NON: pv[PRN_NON].ival = 1; break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPRINT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* only set the BIDI flag if we are bidi */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (printbidi)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_BID].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* serial port parameters may be set for non-bidi devices */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_SPD].ival = pportspeed / 10L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PAR].ival = pportparity;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_FLO].ival = pportflow;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPRINT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (printtimo)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_TMO].ival = printtimo;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (printterm) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_TRM].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&pv[PRN_TRM].sval,printterm);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (printsep) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_SEP].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&pv[PRN_SEP].sval,printsep);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (txt2ps) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PS].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_WID].ival = ps_width;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_LEN].ival = ps_length;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_RAW].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Set up chained parse functions... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&sw, /* First FDB - command switches */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMKEY, /* fcode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Switch", /* hlpmsg */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* addtl string data */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nprnswi, /* addtl numeric data 1: tbl size */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
4, /* addtl numeric data 2: 4 = cmswi */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring, /* Processing function */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prntab, /* Keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&cm /* Pointer to next FDB */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&cm, /* Second fdb for confirmation */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMCFM, /* fcode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* hlpmsg */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* addtl string data */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0, /* addtl numeric data 1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0, /* addtl numeric data 2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&of
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&of, /* Third FDB for printer name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMOFI, /* fcode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Printer or file name", /* hlpmsg */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
defname, /* default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* addtl string data */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0, /* addtl numeric data 1: tbl size */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0, /* addtl numeric data 2: 4 = cmswi */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring, /* Processing function */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL, /* Nothing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (1) { /* Parse 0 or more switches */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmfdb(&sw); /* Parse switch or other thing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"setprinter cmfdb","",x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) /* Error */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn; /* or reparse needed */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fcode != _CMKEY) /* Break out if not a switch */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fdbaddr != &sw) /* Advanced usage :-) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
c = cmgbrk(); /* Get break character */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
getval = (c == ':' || c == '='); /* to see how they ended the switch */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n = cmresult.nresult; /* Numeric result = switch value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"setprinter switch","",n);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (n) { /* Process the switch */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_PS: /* Text to Postscript */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PS].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_BID].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_OUT].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_RAW].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_RAW: /* Non-Postscript */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PS].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_RAW].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_BID: /* Bidirectional */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_BID].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_OUT].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PS].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_RAW].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_OUT: /* Output-only */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_OUT].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_BID].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PS].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_RAW].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_NON: /* NONE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
typeset++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_SPD].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PAR].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_FLO].ival = FLO_KEEP;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_WIN:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_DOS: /* DOS printer name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_FIL: /* Or filename */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_PIP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
typeset++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[n].sval) free(pv[n].sval);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].sval = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_NON].ival = 0; /* Zero any previous selections */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_WIN].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_DOS].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_FIL].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PIP].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = 1; /* Flag this one */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval) break; /* No value wanted */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n == PRN_FIL) { /* File, check accessibility */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int wild = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmiofi("Filename","kermit.prn",&s,&wild,xxstring))< 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -9) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zchko(s) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Can't create \"%s\"\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iswild(s)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?A single file please\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_SPD].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PAR].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_FLO].ival = FLO_KEEP;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if ((x = cmfld(n == PRN_DOS ? /* Value wanted - parse it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"DOS printer device name" : /* Help message */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(n == PRN_PIP ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Program name" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Filename"),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n == PRN_DOS ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"PRN" : /* Default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&s,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s); /* Strip enclosing braces */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s == SP) /* Strip leading blanks */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n == PRN_PIP) { /* If /PIPE: */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s == '|') { /* strip any extraneous pipe sign */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s == SP)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_SPD].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PAR].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_FLO].ival = FLO_KEEP;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = strlen(s)) > 0) /* Anything left? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[n].sval = (char *) malloc(y+1)) /* Yes, keep it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(pv[n].sval,s); /* safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_WIN: /* Windows queue name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
typeset++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[n].sval) free(pv[n].sval);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].sval = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_NON].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_DOS].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_FIL].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_SPD].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PAR].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_FLO].ival = FLO_KEEP;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval || !haveque)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(_printtab,nprint,"Print queue name",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_printtab[printdef].kwd,xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -2)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_WIN].sval) free(pv[PRN_WIN].sval);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = atmbuf;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = strlen(s)) > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[n].sval = (char *)malloc(y+1))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(pv[n].sval,s); /* safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_WIN].sval) free(pv[PRN_WIN].sval);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < nprint; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == printtab[i].kwval) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = printtab[i].kwd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = strlen(s)) > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[n].sval = (char *)malloc(y+1))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(pv[n].sval,s); /* safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_SEP: /* /JOB-HEADER (separator) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[n].sval) free(pv[n].sval);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].sval = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval) break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmifi("Filename","",&s,&y,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Wildcards not allowed\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -9;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = strlen(s)) > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[n].sval = (char *) malloc(y+1))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(pv[n].sval,s); /* safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_TMO: /* /TIMEOUT:number */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval) break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmnum("Seconds","0",10,&y,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y > 999) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry - 999 is the maximum\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -9;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_TRM: /* /END-OF-JOB:string */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[n].sval) free(pv[n].sval);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].sval = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval) break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfld("String (enclose in braces if it contains spaces)",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = strlen(s)) > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[n].sval = (char *) malloc(y+1))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(pv[n].sval,s); /* safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPRINT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_FLO:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval) break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(flotab,nflo,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Serial printer-port flow control",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"rts/cts",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_SPD:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval) break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* TN_COMPORT here too? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(spdtab, /* Speed (no default) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nspd,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Serial printer-port interface speed",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"9600",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_PAR:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval) break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(partbl,npar,"Serial printer-port parity",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"none",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPRINT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_LEN:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval) break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmnum("PS page length", "66",10,&y,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_WID:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval) break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmnum("PS page width", "80",10,&y,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case PRN_CS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!getval) break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKOUNI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
txrtab,ntxrtab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* CKOUNI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ttcstab,ntermc,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKOUNI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"auto-print/printscreen character-set",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"cp437",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[n].ival = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Unexpected switch value - %d\n",cmresult.nresult);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -9;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
line[0] = NUL; /* Initialize printer name value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (cmresult.fcode) { /* How did we get here? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case _CMOFI: /* They typed a filename */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,cmresult.sresult,LINBUFSIZ); /* Name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
wild = cmresult.nresult; /* Wild flag */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!typeset) { /* A printer name without a type */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_NON].ival = 0; /* is supposed to be treated as */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_WIN].ival = 0; /* a DOS or Pipe printer. We */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_FIL].ival = 0; /* clear all the flags and let */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_PIP].ival = 0; /* the code below dope out the */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_DOS].ival = 0; /* type. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (pv[PRN_WIN].ival && lookup(_printtab,line,nprint,&y)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* invalid Window Queue name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?invalid Windows Printer Queue name: \"%s\"\r\n",line);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -9;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) /* Confirm the command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case _CMCFM: /* They entered the command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_DOS].ival > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,pv[PRN_DOS].sval ? pv[PRN_DOS].sval : "",LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (pv[PRN_WIN].ival > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,pv[PRN_WIN].sval ? pv[PRN_WIN].sval : "",LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (pv[PRN_FIL].ival > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,pv[PRN_FIL].sval ? pv[PRN_FIL].sval : "",LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (pv[PRN_PIP].ival > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,pv[PRN_PIP].sval ? pv[PRN_PIP].sval : "",LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: /* By mistake */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Unexpected function code: %d\n",cmresult.fcode);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -9;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* No PRINTSWI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmofi("Printer or file name",defname,&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Directory names not allowed\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s == SP || *s == HT) s++; /* Trim leading whitespace */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ); /* Make a temporary safe copy */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x); /* Confirm the command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PRINTSWI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver && (isguest
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSERVER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
|| !ENABLED(en_pri)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSERVER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, printing disabled\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ISKD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PRINTSWI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPRINT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (printbidi) { /* If bidi printing active */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
bprtstop(); /* Stop it before proceeding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printbidi = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_SPD].ival > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
portspeed = (long) pv[PRN_SPD].ival * 10L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (portspeed == 70L) portspeed = 75L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_PAR].ival > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
portparity = pv[PRN_PAR].ival;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_FLO].ival > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
portflow = pv[PRN_FLO].ival;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPRINT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PRINTSWI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = line; /* Printer name, if given */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2ORUNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PRINTSWI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_PIP].ival > 0) { /* /PIPE was given? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printpipe = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
noprinter = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s == '|') { /* It might still have a pipe sign */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s++; /* if name give later */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s == SP) /* so remove it and spaces */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PRINTSWI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s == '|') { /* Or pipe implied by name? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s++; /* Point past pipe sign */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*s == SP) /* Gobble whitespace */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printpipe = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
noprinter = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printpipe = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PRINTSWI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPRINT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (printpipe && pv[PRN_BID].ival > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, pipes not allowed for bidirectional printer\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPRINT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PRINTSWI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2ORUNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( pv[PRN_CS].ival > 0 )
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prncs = pv[PRN_CS].ival;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( pv[PRN_PS].ival > 0 ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
txt2ps = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ps_width = pv[PRN_WID].ival <= 0 ? 80 : pv[PRN_WID].ival;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ps_length = pv[PRN_LEN].ival <= 0 ? 66 : pv[PRN_LEN].ival;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = strlen(s); /* Length of name of new print file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y > 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&& ((y != 3) || (ckstrcmp(s,"PRN",3,0) != 0))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (printername) { /* Had a print file before? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(printername); /* Remove its name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printername = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printername = (char *) malloc(y + 1); /* Allocate space for it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!printername) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Memory allocation failure\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(printername,s); /* (safe) Copy new name to new space */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"printername",printername,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PRINTSWI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Set printer type from switches that were given explicitly */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_NON].ival > 0) { /* No printer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printertype = PRT_NON;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
noprinter = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printpipe = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (pv[PRN_FIL].ival > 0) { /* File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printertype = PRT_FIL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
noprinter = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printpipe = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (pv[PRN_PIP].ival > 0) { /* Pipe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printertype = PRT_PIP;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
noprinter = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printpipe = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (pv[PRN_WIN].ival > 0) { /* Windows print queue */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printertype = PRT_WIN;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
noprinter = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printpipe = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (pv[PRN_DOS].ival > 0) { /* DOS device */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printertype = PRT_DOS;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
noprinter = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printpipe = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (line[0]) { /* Name given without switches */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
noprinter = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printertype = printpipe ? PRT_PIP : PRT_DOS;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* was the command SET PRINTER windows-queue ? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = lookup(_printtab,line,nprint,&x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y >= 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printertype = PRT_WIN;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_WIN].sval) free(pv[PRN_WIN].sval);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (printername) { /* Had a print file before? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(printername); /* Remove its name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printername = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_WIN].sval = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pv[PRN_WIN].ival = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = printtab[x].kwd; /* Get full new name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = strlen(s)) > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&pv[PRN_WIN].sval,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&printername,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!printername) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Memory allocation failure\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"printername",printername,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if ( y == -2 ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Ambiguous Print Queue Name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Ambiguous printer name provided.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPRINT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Port parameters may be set for non-bidi mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pportspeed = portspeed; /* Set parameters */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pportparity = portparity;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pportflow = portflow;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_BID].ival > 0) { /* Bidirectional */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printbidi = 1; /* (just to test parsing...) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printbidi = bprtstart(); /* Start bidirectional printer */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = printbidi);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printbidi = 0; /* Not BPRINTER, unset flag */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPRINT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_TMO].ival > -1) { /* Take care of timeout */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printtimo = pv[PRN_TMO].ival;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_TRM].ival > 0) { /* Termination string */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (printterm) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(printterm);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printterm = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_TRM].sval)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&printterm,pv[PRN_TRM].sval);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_SEP].ival > 0) { /* and separator file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (printsep) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(printsep);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printsep = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[PRN_SEP].sval)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&printsep,pv[PRN_SEP].sval);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PRINTSWI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIXOROSK
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!printpipe
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PRINTSWI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&& !noprinter
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PRINTSWI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) { /* File - check access */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zchko(s) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Access denied - %s\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -9;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
goto xsetprn;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIXOROSK */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 1; /* Return code */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xsetprn: /* Common exit */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PRINTSWI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i <= PRN_MAX; i++) { /* Free malloc'd memory */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pv[i].sval)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(pv[i].sval);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PRINTSWI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = (x > 0) ? 1 : 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef ANYSSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* The SET SSH command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_CMD 1 /* SET SSH COMMAND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN /* Built-in SET SSH options */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_ADD 2 /* Add */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_AFW 3 /* Agent-forwarding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_CHI 4 /* Check Host IP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_XFW 5 /* X11-forwarding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_DYF 6 /* Dynamic forwarding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_GWP 7 /* Gatewa portgs */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_GSS 8 /* GSSAPI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_KBD 9 /* KBD Interactive Devices */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_K4 10 /* Kerberos 4 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_K5 11 /* Kerberos 5 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_SHK 12 /* Strict Host Key Check */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_V1 13 /* SSH V1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_V2 14 /* SSH V2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_PRP 15 /* Privd port */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_CMP 16 /* Compression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_XAL 17 /* X Auth Location */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_SHH 18 /* Quiet */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_VER 19 /* Version */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_VRB 20 /* Verbosity level */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_IDF 21 /* Identity File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_CFG 22 /* Use OpenSSH Config */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH_HBT 23 /* Heartbeat Interval */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab sshtab[] = { /* SET SSH command table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "agent-forwarding", SSH_AFW, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "check-host-ip", SSH_CHI, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "compression", SSH_CMP, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "dynamic-forwarding", SSH_DYF, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "gateway-ports", SSH_GWP, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "gssapi", SSH_GSS, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "heartbeat-interval", SSH_HBT, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "identity-file", SSH_IDF, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "kbd-interactive-devices", SSH_KBD, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "k4", SSH_K4, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "k5", SSH_K5, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "kerberos4", SSH_K4, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "kerberos5", SSH_K5, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "krb4", SSH_K4, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "krb5", SSH_K5, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "privileged-port", SSH_PRP, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "quiet", SSH_SHH, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "strict-host-key-check", SSH_SHK, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "use-openssh-config", SSH_CFG, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "v1", SSH_V1, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "v2", SSH_V2, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "verbose", SSH_VRB, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "version", SSH_VER, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "x11-forwarding", SSH_XFW, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "xauth-location", SSH_XAL, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHCMD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "command", SSH_CMD, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHCMD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsshtab = (sizeof(sshtab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab sshver[] = { /* SET SSH VERSION command table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "1", 1, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "2", 2, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "automatic", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_CRS 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_DSA 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_GSS 3
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_HOS 4
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_KBD 5
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_K4 6
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_K5 7
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_PSW 8
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_PK 9
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_SKE 10
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_TIS 11
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_EXT 12
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHA_SRP 13
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab ssh2aut[] = { /* SET SSH V2 AUTH command table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "external-keyx", SSHA_EXT, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "gssapi", SSHA_GSS, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "hostbased", SSHA_HOS, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "keyboard-interactive", SSHA_KBD, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "password", SSHA_PSW, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "publickey", SSHA_PK, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "srp-gex-sha1", SSHA_SRP, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nssh2aut = (sizeof(ssh2aut) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHF_LCL 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHF_RMT 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab addfwd[] = { /* SET SSH ADD command table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "local-port-forward", SSHF_LCL, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "remote-port-forward", SSHF_RMT, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int naddfwd = (sizeof(addfwd) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH1_CIF 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH1_GNH 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH1_UNH 3
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH1_K54 4
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH2_CIF 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH2_GNH 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH2_UNH 3
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH2_ARK 4
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH2_HKA 5
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH2_MAC 6
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSH2_AUT 7
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab sshv1tab[] = { /* SET SSH V1 command table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "cipher", SSH1_CIF, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "global-known-hosts-file", SSH1_GNH, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "k5-reuse-k4-messages", SSH1_K54, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "user-known-hosts-file", SSH1_UNH, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsshv1tab = (sizeof(sshv1tab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab sshv2tab[] = { /* SET SSH V2 command table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "authentication", SSH2_AUT, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "auto-rekey", SSH2_ARK, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "ciphers", SSH2_CIF, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "global-known-hosts-file", SSH2_GNH, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "hostkey-algorithms", SSH2_HKA, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "macs", SSH2_MAC, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "user-known-hosts-file", SSH2_UNH, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsshv2tab = (sizeof(sshv2tab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHC_3DES 1 /* 3DES */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHC_3CBC 2 /* 3DES-CBC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHC_A128 3 /* AES128-CBC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHC_A192 4 /* AES192-CBC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHC_A256 5 /* AES256-CBC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHC_ARC4 6 /* ARCFOUR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHC_FISH 7 /* BLOWFISH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHC_BCBC 9 /* BLOWFISH-CBC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHC_C128 8 /* CAST128-CBC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHC_1DES 10 /* DES */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab ssh1ciphers[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "3des", SSHC_3DES, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "blowfish", SSHC_FISH, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "des", SSHC_1DES, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nssh1ciphers = (sizeof(ssh1ciphers) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab ssh2ciphers[] = { /* SET SSH V2 CIPHERS command table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "3des-cbc", SSHC_3DES, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "aes128-cbc", SSHC_A128, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "aes192-cbc", SSHC_A192, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "aes256-cbc", SSHC_A256, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "arcfour", SSHC_ARC4, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "blowfish-cbc", SSHC_FISH, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "cast128-cbc", SSHC_C128, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "rijndael128-cbc", SSHC_A128, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "rijndael192-cbc", SSHC_A192, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "rijndael256-cbc", SSHC_A256, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nssh2ciphers = (sizeof(ssh2ciphers) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHM_SHA 1 /* HMAC-SHA1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHM_SHA_96 2 /* HMAC-SHA1-96 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHM_MD5 3 /* HMAC-MD5 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHM_MD5_96 4 /* HMAC-MD5-96 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define SSHM_RIPE 5 /* HMAC-RIPEMD160 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab ssh2macs[] = { /* SET SSH V2 MACS command table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "hmac-md5", SSHM_MD5, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "hmac-md5-96", SSHM_MD5_96, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "hmac-ripemd160", SSHM_RIPE, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "hmac-sha1", SSHM_SHA, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "hmac-sha1-96", SSHM_SHA_96, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nssh2macs = (sizeof(ssh2macs) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab tgtpass[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "tgt-passing", 1, 0, },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int ntgtpass = (sizeof(tgtpass) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab gssapitab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "delegate-credentials", 1, 0, },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "key-exchange", 2, CM_INV, },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int ngssapitab = (sizeof(gssapitab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define HKA_RSA 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define HKA_DSS 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab hkatab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "ssh-dss", HKA_DSS, 0, },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "ssh-rsa", HKA_RSA, 0, },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nhkatab = (sizeof(hkatab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int /* SET SSH variables */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_afw = 0, /* agent forwarding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_xfw = 0, /* x11 forwarding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_prp = SET_OFF, /* privileged ports */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_cmp = 1, /* compression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_shh = 0, /* quiet */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_ver = 0, /* protocol version (auto,1,2) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_vrb = 2, /* Report errors */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_chkip = 0, /* SSH Check Host IP flag */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_gwp = 0, /* gateway ports */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_dyf = 0, /* dynamic forwarding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_gsd = 0, /* gssapi delegate credentials */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_k4tgt = 0, /* k4 tgt passing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_k5tgt = 0, /* k5 tgt passing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_shk = 2, /* Strict host key (no, yes, ask) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_ark = 1, /* Auto re-key */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_cas = 0, /* command as subsys */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_cfg = 0, /* use OpenSSH config? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_gkx = 1, /* gssapi key exchange */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_k5_is_k4 = 1, /* some SSH v1 use same codes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_hbt = 0, /* heartbeat (seconds) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_dummy = 0; /* bottom of list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char /* The following are to be malloc'd */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh1_cif = NULL, /* v1 cipher */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh2_cif = NULL, /* v2 cipher list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh2_mac = NULL, /* v2 mac list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh2_auth = NULL, /* v2 authentication list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh_hst = NULL, /* hostname */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh_prt = NULL, /* port/service */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh_cmd = NULL, /* command to execute */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh_xal = NULL, /* xauth-location */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh1_gnh = NULL, /* v1 global known hosts file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh1_unh = NULL, /* v1 user known hosts file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh2_gnh = NULL, /* v2 global known hosts file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh2_unh = NULL, /* v2 user known hosts file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* ssh2_hka = NULL, /* Host Key Algorithms */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
* xxx_dummy = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * ssh_idf[32] = { /* Identity file list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * ssh_tmp[32] = { /* Temp identity file list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int ssh_idf_n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ssh_pf_lcl_n,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_pf_rmt_n;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct ssh_pf ssh_pf_lcl[32]; /* Port forwarding structs */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct ssh_pf ssh_pf_rmt[32]; /* (declared in ckuusr.c) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SFTP_BUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab sftptab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "end-of-line", XY_SFTP_EOL, 0, },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "remote-character-set", XY_SFTP_RCS, 0, },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0 }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nsftptab = (sizeof(sftptab) / sizeof(struct keytab)) - 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SFTP_BUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shossh() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, n = 0; /* ADD askmore()! */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\nSSH is built in:\n\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh host: %s\n",showstring(ssh_hst));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh port: %s\n",showstring(ssh_prt));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh command: %s\n",showstring(ssh_cmd));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh agent-forwarding: %s\n",showoff(ssh_afw));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh check-host-ip: %s\n",showoff(ssh_chkip));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh compression: %s\n",showoff(ssh_cmp));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh dynamic-forwarding: %s\n",showoff(ssh_dyf));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh_pf_lcl[0].p1 && ssh_pf_lcl[0].host && ssh_pf_lcl[0].p2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh forward-local-port: %d %s %d\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_pf_lcl[0].p1, ssh_pf_lcl[0].host, ssh_pf_lcl[0].p2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for ( n=1;n<ssh_pf_lcl_n;n++ )
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" : %d %s %d\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_pf_lcl[n].p1, ssh_pf_lcl[n].host, ssh_pf_lcl[n].p2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh forward-local-port: (none)\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh_pf_rmt[0].p1 && ssh_pf_rmt[0].host && ssh_pf_rmt[0].p2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh forward-remote-port: %d %s %d\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_pf_rmt[0].p1, ssh_pf_rmt[0].host, ssh_pf_rmt[0].p2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for ( n=1;n<ssh_pf_rmt_n;n++ )
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" : %d %s %d\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_pf_rmt[n].p1, ssh_pf_rmt[n].host, ssh_pf_rmt[n].p2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh forward-remote-port: (none)\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh gateway-ports: %s\n",showoff(ssh_gwp));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh gssapi delegate-credentials: %s\n",showoff(ssh_gsd));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh gssapi key-exchange : %s\n",showoff(ssh_gkx));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh identity-file: %d\n",ssh_idf_n);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < ssh_idf_n; i++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %2d. %s\n",i+1,showstring(ssh_idf[i]));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh heartbeat interval: %d\n", ssh_hbt);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh k4 tgt-passing: %s\n",showoff(ssh_k4tgt));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh k5 tgt-passing: %s\n",showoff(ssh_k5tgt));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh privileged-port: %s\n",showooa(ssh_prp));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh quiet: %s\n",showoff(ssh_shh));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh strict-host-key-check: %d\n",ssh_shk);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh use-openssh-config: %s\n",showoff(ssh_cfg));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh verbose: %d\n",ssh_vrb);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh version: %s\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_ver ? ckitoa(ssh_ver) : "automatic"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh x11-forwarding: %s\n",showooa(ssh_xfw));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh xauth-location: %s\n",showstring(ssh_xal));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh v1 cipher: %s\n",showstring(ssh1_cif));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh v1 global-known-hosts-file: %s\n",showstring(ssh1_gnh));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh v1 user-known-hosts-file: %s\n",showstring(ssh1_unh));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh v2 authentication: %s\n",showstring(ssh2_auth));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh v2 auto-rekey: %s\n",showoff(ssh2_ark));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh v2 ciphers: %s\n",showstring(ssh2_cif));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh v2 command-as-subsystem: %s\n",showoff(ssh_cas));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh v2 global-known-hosts-file: %s\n",showstring(ssh2_gnh));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh v2 hostkey-algorithms: %s\n",showstring(ssh2_hka));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh v2 mac: %s\n",showstring(ssh2_mac));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh v2 user-known-hosts-file: %s\n",showstring(ssh2_unh));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHCMD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * sshcmd, * defsshcmd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = sshcmd ? sshcmd : defsshcmd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n SSH is external.\n\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ssh command: %s\n",showstring(s));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHCMD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dosetssh() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHCMD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * sshcmd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHCMD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef SSHTEST
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sl_ssh_xfw_saved, sl_ssh_ver_saved;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHTEST */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int cx, x, y, z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((cx = cmkey(sshtab,nsshtab,"","command", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(cx);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (cx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHCMD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_CMD: /* Command */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt("Command to start ssh","ssh -e none",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&sshcmd,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHCMD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_AFW: /* Agent-forwarding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh_afw));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_CHI: /* Check Host IP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh_chkip));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_CMP: /* Compression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh_cmp));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_DYF: /* Dynamic Forwarding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh_dyf));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_GWP: /* Gateway ports */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh_gwp));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_GSS: /* GSSAPI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(gssapitab,ngssapitab,"","", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: /* Delegate credentials */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh_gsd));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 2: /* key-exchange */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh_gkx));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_KBD: /* Kbd Interactive Devices */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* TO BE FILLED IN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_K4: /* Kerberos IV */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_K5: /* Kerberos V */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(tgtpass,1,"","tgt-passing", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = (cx == SSH_K4) ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
seton(&ssh_k4tgt) : seton(&ssh_k5tgt));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_PRP: /* Privd port */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh_prp));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_SHH: /* Quiet */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh_shh));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_SHK: /* Strict Host Key Check */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(ooktab,3,"","", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_shk = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_HBT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmnum("Heartbeat interval, seconds","0",10,&z,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_hbt = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_V1: /* SSH V1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(sshv1tab,nsshv1tab,"","", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH1_K54:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh_k5_is_k4));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH1_CIF: /* Not a list */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(ssh1ciphers,nssh1ciphers,"","", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssh1_cif,NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < nssh1ciphers; x++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh1ciphers[x].kwval == y)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssh1_cif,ssh1ciphers[x].kwd);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH1_GNH:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH1_UNH:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmifi("Filename","",&s,&z,xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zfnqfp(line,TMPBUFSIZ,tmpbuf))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,tmpbuf,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = (x == -3) ? NULL : line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH1_GNH: makestr(&ssh1_gnh,s); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH1_UNH: makestr(&ssh1_unh,s); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_V2: /* SSH V2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(sshv2tab,nsshv2tab,"","", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH2_ARK:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh2_ark));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH2_AUT: { /* Authentication */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define TMPCNT 12
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, j, tmp[TMPCNT];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < TMPCNT; i++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmp[i] = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < TMPCNT; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(ssh2aut,nssh2aut,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Authentication method","",xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j = 0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tmp[j] == y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\r\n?Choice has already been used.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmp[i] = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh2_auth) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssh2_auth);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_auth = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int len = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j = 0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < nssh2aut; x++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh2aut[x].kwval == tmp[j] && !ssh2aut[x].flgs)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len += strlen(ssh2aut[x].kwd) + 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_auth = malloc(len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_auth[0] = '\0';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j = 0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < nssh2aut; x++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh2aut[x].kwval == tmp[j] && !ssh2aut[x].flgs)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncat(ssh2_auth,ssh2aut[x].kwd,len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j < i - 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncat(ssh2_auth,",",len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#undef TMPCNT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH2_CIF: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define TMPCNT 12
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, j, tmp[TMPCNT];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < TMPCNT; i++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmp[i] = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < TMPCNT; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(ssh2ciphers,nssh2ciphers,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"","", xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j = 0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tmp[j] == y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\r\n?Choice has already been used.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmp[i] = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh2_cif) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssh2_cif);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_cif = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int len = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j=0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < nssh2ciphers; x++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh2ciphers[x].kwval == tmp[j] &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
!ssh2ciphers[x].flgs)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len += strlen(ssh2ciphers[x].kwd) + 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_cif = malloc(len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_cif[0] = '\0';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j = 0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < nssh2ciphers; x++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh2ciphers[x].kwval == tmp[j] && !ssh2ciphers[x].flgs)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncat(ssh2_cif,ssh2ciphers[x].kwd,len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j < i - 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncat(ssh2_cif,",",len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#undef TMPCNT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH2_MAC: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define TMPCNT 12
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, j, tmp[TMPCNT];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < TMPCNT; i++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmp[i] = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < TMPCNT; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(ssh2macs,nssh2macs,"","", xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j = 0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tmp[j] == y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\r\n?Choice has already been used.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmp[i] = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh2_mac) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssh2_mac);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_mac = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int len = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j = 0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < nssh2macs; x++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh2macs[x].kwval == tmp[j] && !ssh2macs[x].flgs)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len += strlen(ssh2macs[x].kwd) + 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_mac = malloc(len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_mac[0] = '\0';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j=0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < nssh2macs; x++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh2macs[x].kwval == tmp[j] && !ssh2macs[x].flgs)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncat(ssh2_mac,ssh2macs[x].kwd,len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j < i - 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncat(ssh2_mac,",",len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#undef TMPCNT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH2_HKA: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define TMPCNT 12
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, j, tmp[TMPCNT];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < TMPCNT; i++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmp[i] = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < TMPCNT; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(hkatab,nhkatab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"","", xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j = 0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tmp[j] == y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\r\n?Choice has already been used.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmp[i] = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssh2_hka) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssh2_hka);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_hka = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int len = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j=0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < nhkatab; x++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (hkatab[x].kwval == tmp[j] &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
!hkatab[x].flgs)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len += strlen(hkatab[x].kwd) + 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_hka = malloc(len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh2_hka[0] = '\0';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j = 0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < nhkatab; x++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (hkatab[x].kwval == tmp[j] && !hkatab[x].flgs)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncat(ssh2_hka,hkatab[x].kwd,len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (j < i - 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncat(ssh2_hka,",",len);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#undef TMPCNT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH2_GNH:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH2_UNH:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmifi("Filename","",&s,&z,xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zfnqfp(line,TMPBUFSIZ,tmpbuf))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,tmpbuf,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = (x == -3) ? NULL : line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH2_GNH: makestr(&ssh2_gnh,s); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH2_UNH: makestr(&ssh2_unh,s); break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_VRB: /* Verbosity level */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("SSH verbosity level, 0-7","2",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setnum(&ssh_vrb,x,y,7));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_VER: /* Version */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(sshver,3,"","auto", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_ver = y; /* 0 == AUTO */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef SSHTEST
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_ssh_ver_saved = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHTEST */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_IDF: { /* Identity file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, n;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < 32; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmifi("Filename","",&s,&y,xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!zfnqfp(s,LINBUFSIZ,line))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssh_tmp[i],line);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n = i;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < n; i++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(ssh_tmp[i]),NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < 32; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(ssh_idf[i]),NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i < n) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_idf[i] = ssh_tmp[i];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_tmp[i] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&(ssh_tmp[i]),NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssh_idf_n = n;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_XFW: /* X11-forwarding */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = seton(&ssh_xfw);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef SSHTEST
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (success)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_ssh_xfw_saved = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHTEST */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_XAL: /* SSH Xauth Location */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmifi("Path to executable", "",&s,&y,xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zfnqfp(line,TMPBUFSIZ,tmpbuf))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,tmpbuf,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = (x == -3) ? NULL : line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssh_xal,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SSH_CFG: /* Use OpenSSH Config */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ssh_cfg));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ANYSSH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SFTP_BUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dosetsftp() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int cx, x, y, z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((cx = cmkey(sftptab,nsftptab,"","", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(cx);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (cx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XY_SFTP_EOL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XY_SFTP_RCS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SFTP_BUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#include "ikui.h"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern ULONG RGBTable[16];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUI_RGB 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUI_WIN 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUI_FON 3
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUI_DIA 4
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUI_TLB 5
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUI_MNB 6
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUI_CLS 7
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUIW_POS 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUIW_RES 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUIW_RUN 3
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUIWR_NON 0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUIWR_FON 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUIWR_DIM 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUIWN_RES 1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUIWN_MIN 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define GUIWN_MAX 3
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab guitab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "close", GUI_CLS, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "dialogs", GUI_DIA, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "font", GUI_FON, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "menubar", GUI_MNB, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "rgbcolor", GUI_RGB, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "toolbar", GUI_TLB, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "window", GUI_WIN, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nguitab = (sizeof(guitab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab guiwtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "position", GUIW_POS, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "resize-mode", GUIW_RES, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "run-mode", GUIW_RUN, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nguiwtab = (sizeof(guiwtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab guiwrtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "change-dimensions", GUIWR_DIM, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "none", GUIWR_NON, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "scale-font", GUIWR_FON, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nguiwrtab = (sizeof(guiwrtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab guiwntab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "maximize", GUIWN_MAX, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "minimize", GUIWN_MIN, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "restore", GUIWN_RES, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "", 0, 0}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int nguiwntab = (sizeof(guiwntab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab rgbtab[] = {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "black", 0, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "blue", 1, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "brown", 6, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "cyan", 3, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "darkgray", 8, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "dgray", 8, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "green", 2, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lblue", 9, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lcyan", 11, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lgreen", 10, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lgray", 7, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lightblue", 9, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lightcyan", 11, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lightgreen", 10, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lightgray", 7, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lightmagenta", 13, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lightred", 12, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lmagenta", 13, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "lred", 12, CM_INV },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "magenta", 5, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "red", 4, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "white", 15, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{ "yellow", 14, 0 },
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
};
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int nrgb = (sizeof(rgbtab) / sizeof(struct keytab));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shogui() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern gui_dialog;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern HWND getHwndKUI();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
unsigned char cmdsav = colorcmd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, red, green, blue, lines=0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("GUI paramters:\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++lines > cmd_rows - 3) { if (!askmore()) return; else lines = 0; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Dialogs: %s\n",showoff(gui_dialog));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++lines > cmd_rows - 3) { if (!askmore()) return; else lines = 0; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Position: %d,%d\n",get_gui_window_pos_x(),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
get_gui_window_pos_y());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++lines > cmd_rows - 3) { if (!askmore()) return; else lines = 0; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Resolution: %d x %d\n",GetSystemMetrics(SM_CXSCREEN),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
GetSystemMetrics(SM_CYSCREEN));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++lines > cmd_rows - 3) { if (!askmore()) return; else lines = 0; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Run-mode: %s\n",IsIconic(getHwndKUI()) ? "minimized" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
IsZoomed(getHwndKUI()) ? "maximized" : "restored");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++lines > cmd_rows - 3) { if (!askmore()) return; else lines = 0; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch ( get_gui_resize_mode() ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUIWR_NON:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "none";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUIWR_FON:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "scales font";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUIWR_DIM:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s= "changes dimensions";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Resize-mode: %s\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++lines > cmd_rows - 3) { if (!askmore()) return; else lines = 0; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++lines > cmd_rows - 3) { if (!askmore()) return; else lines = 0; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("RGB Color Table:\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++lines > cmd_rows - 3) { if (!askmore()) return; else lines = 0; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" Color Red Green Blue\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++lines > cmd_rows - 3) { if (!askmore()) return; else lines = 0; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ------------------------------------------\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++lines > cmd_rows - 3) { if (!askmore()) return; else lines = 0; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < nrgb; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!rgbtab[i].flgs) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
blue = (RGBTable[rgbtab[i].kwval] & 0x00FF0000)>>16;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
green = (RGBTable[rgbtab[i].kwval] & 0x0000FF00)>>8;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
red = (RGBTable[rgbtab[i].kwval] & 0x000000FF);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %-18s %3d %3d %3d ",rgbtab[i].kwd,red,green,blue);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
colorcmd = rgbtab[i].kwval << 4;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("********");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
colorcmd = cmdsav;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++lines > cmd_rows - 3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!askmore())
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
lines = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setrgb() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int cx, red = 0, blue = 0, green = 0, z, x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((cx = cmkey(rgbtab,nrgb,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(cx);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmnum("Red value, 0-255","",10,&red,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmnum("Green value, 0-255","",10,&green,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmnum("Blue value, 0-255","",10,&blue,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cx > 15 || red > 255 || blue > 255 || green > 255)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
RGBTable[cx] = (unsigned)(((unsigned)blue << 16) |
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(unsigned)((unsigned)green << 8) |
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(unsigned)red);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Set GUI window position: XY coordinates of upper left corner,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
expressed as pixel numbers in the current screen resolution.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(0,0) means put ourselves in the upper left corner.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Can we check for out of bounds?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setguiwin() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int cx, x, y, z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((cx = cmkey(guiwtab,nguiwtab,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(cx);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (cx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUIW_POS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmnum("X coordinate (pixel number)","",10,&x,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmnum("Y coordinate (pixel number)","",10,&y,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0 || y < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Coordinates must be 0 or greater\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
gui_position(x,y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUIW_RES:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(guiwrtab,nguiwrtab,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
gui_resize_mode(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUIW_RUN:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(guiwntab,nguiwntab,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
gui_win_run_mode(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setguifont() { /* Assumes that CKFLOAT is defined! */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab * term_font;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab * _term_font;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tt_font, tt_font_size, ntermfont;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x, y, z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ntermfont == 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
BuildFontTable(&term_font, &_term_font, &ntermfont);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!(term_font && _term_font && ntermfont > 0)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Internal error: Failure to enumerate fonts\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(_term_font,ntermfont,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmfld("Height of font in points","12",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (isfloat(s,0) < 1) { /* (sets floatval) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Integer or floating-point number required\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (floatval < 0.5) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Positive number required\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tt_font = x; /* Font index */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tt_font_size = (int)(floatval * 2); /* Font size in half points */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
KuiSetProperty(KUI_TERM_FONT, (long)tt_font, (long)tt_font_size);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setguidialog(x) int x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int gui_dialog;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
gui_dialog = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
KuiSetProperty(KUI_GUI_DIALOGS, (long)x, 0L);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setguimenubar(x) int x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
KuiSetProperty(KUI_GUI_MENUBAR, (long)x, 0L);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setguitoolbar(x) int x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
KuiSetProperty(KUI_GUI_TOOLBAR, (long)x, 0L);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setguiclose(x) int x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
KuiSetProperty(KUI_GUI_CLOSE, (long)x, 0L);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setgui() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int cx, x, rc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((cx = cmkey(guitab,nguitab,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(cx);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (cx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUI_DIA:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = seton(&x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rc >= 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setguidialog(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(rc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUI_FON:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setguifont());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUI_RGB:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setrgb());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUI_WIN:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setguiwin());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUI_TLB:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = seton(&x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rc >= 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setguitoolbar(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(rc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUI_MNB:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = seton(&x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rc >= 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setguimenubar(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(rc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case GUI_CLS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = seton(&x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rc >= 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setguiclose(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(rc);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setexitwarn(x) int x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xitwarn = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
KuiSetProperty(KUI_EXIT_WARNING, (long)x, 0L);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setdebses(x) int x; {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((debses != 0) && (x == 0)) /* It was on and we turned it off? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
os2debugoff(); /* Fix OS/2 coloration */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debses = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
KuiSetProperty(KUI_TERM_DEBUG,x,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* D O P R M -- Set a parameter. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Returns:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
-2: illegal input
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
-1: reparse needed
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0: success
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
doprm(xx,rmsflg) int xx, rmsflg; {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i = 0, x = 0, y = 0, z = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long zz = 0L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *s = NULL, *p = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char portbuf[64];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long portspeed = 0L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int portparity = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int portflow = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSETKEY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xx == XYMSK)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setmsk());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSETKEY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xx == XYFLAG) { /* SET FLAG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ooflag;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ooflag));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xx == XYPRTR /* SET PRINTER (or BPRINTER) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BPRINT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
|| xx == XYBDCP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BPRINT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setprinter(xx));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef ANYX25 /* SET X25 ... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX25:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setx25());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef IBMX25
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYPAD: /* SET PAD ... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setpadp());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IBMX25 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ANYX25 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYEOL: /* These have all been moved to set send/receive... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYLEN: /* Let the user know what to do. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYMARK:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYNPAD:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYPADC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTIMO:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("...Use SET SEND or SET RECEIVE instead.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Type HELP SET SEND or HELP SET RECEIVE for more info.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYATTR: /* File Attribute packets */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setat(rmsflg));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYIFD: /* Incomplete file disposition */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(ifdatab,3,"","auto",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rmsflg) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sstate = setgen('S',
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"310",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y == 0 ? "0" : (y == 1 ? "1" : "2"),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
""
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return((int) sstate);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
keep = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYMATCH: /* [ REMOTE ] SET MATCH... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(matchtab,nmatchtab,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rmsflg) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(onoff,2,"","on",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case MCH_DOTF:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(sstate = setgen('S',"330", y == 0 ? "0" : "1", ""));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case MCH_FIFO:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(sstate = setgen('S',"331", y == 0 ? "0" : "1", ""));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case MCH_FIFO:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&matchfifo));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case MCH_DOTF:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = seton(&matchdot);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dir_dots = -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYINPU: /* SET INPUT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setinp());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCONN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYNET: { /* SET NETWORK */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct FDB k1, k2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&k1,_CMKEY,"","","",nnetkey, 0, xxstring, netkey, &k2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&k2,_CMKEY,"","","",nnets, 0, xxstring, netcmd, NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2 /* Hide network-type keywords for networks not installed */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (z = 0; z < nnets; z++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (netcmd[z].kwval == NET_TCPB && tcp_avail == 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
netcmd[z].flgs = CM_INV;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (netcmd[z].kwval == NET_SSH &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
!ck_ssleay_is_installed())
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
netcmd[z].flgs = CM_INV;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DECNET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (netcmd[z].kwval == NET_DEC && dnet_avail == 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
netcmd[z].flgs = CM_INV;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DECNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NETBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (netcmd[z].kwval == NET_BIOS && netbiosAvail == 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
netcmd[z].flgs = CM_INV;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NETBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SUPERLAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (netcmd[z].kwval == NET_SLAT && slat_avail == 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
netcmd[z].flgs = CM_INV;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SUPERLAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tcp_avail) /* Default network type */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,"tcp/ip",TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if ( ck_ssleay_is_installed() )
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,"ssh",TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DECNET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (dnet_avail)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,"decnet",TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DECNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SUPERLAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (slat_avail)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,"superlat",TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SUPERLAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NETBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (netbiosAvail)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,"netbios",TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NETBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else ckstrncpy(tmpbuf,"named-pipe",TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TCPSOCKET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,"tcp/ip",TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef ANYX25
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,"x.25",TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,"",TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ANYX25 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TCPSOCKET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmfdb(&k1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) { /* Error */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -2 || x == -9)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?No keywords match: \"%s\"\n",atmbuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = cmresult.nresult; /* Keyword value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fdbaddr == &k1) { /* Which table? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NODIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == XYNET_D)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(parsdir(1));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NODIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(netcmd,nnets,"",tmpbuf,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCMD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == NET_CMD && nopush) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?Sorry, access to external commands is disabled\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCMD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOPUSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETPTY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == NET_PTY && nopush) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?Sorry, access to external commands is disabled\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETPTY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOPUSH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == NET_TCPB && tcp_avail == 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"\n?Sorry, either TCP/IP is not available on this system or\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
necessary DLLs did not load. Use SHOW NETWORK to check network status.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (z == NET_SSH && !ck_ssleay_is_installed()) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?Sorry, SSH is not available on this system.\n") ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NETBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (z == NET_BIOS && netbiosAvail == 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?Sorry, NETBIOS is not available on this system.\n") ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NETBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DECNET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (z == NET_DEC && dnet_avail == 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?Sorry, DECnet is not available on this system.\n") ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DECNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SUPERLAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (z == NET_SLAT && slat_avail == 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?Sorry, SuperLAT is not available on this system.\n") ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SUPERLAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NPIPEORBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == NET_PIPE || /* Named pipe -- also get pipename */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z == NET_BIOS) { /* NETBIOS -- also get local name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *defnam;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NETBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char tmpnbnam[NETBIOS_NAME_LEN+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NETBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Construct default name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == NET_PIPE) { /* Named pipe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
defnam = "kermit"; /* Default name is always "kermit" */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NETBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else { /* NetBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (NetBiosName[0] != SP) { /* If there is already a name, */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *p = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int n; /* use it as the default. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpnbnam,NetBiosName,NETBIOS_NAME_LEN+1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* convert trailing spaces to NULs */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = &tmpnbnam[NETBIOS_NAME_LEN-1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (*p == SP) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*p = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p--;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
defnam = tmpnbnam;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (*myhost) /* Otherwise use this PC's host name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
defnam = (char *) myhost;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else /* Otherwise use "kermit" */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
defnam = "kermit";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NETBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt((z == NET_PIPE) ? "name of named-pipe" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"local NETBIOS name",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
defnam, &s, xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NPIPE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pipename[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NPIPE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = (int) strlen(s)) < 1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?You must also specify a %s name\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(z == NET_PIPE) ? "pipe" : "local NETBIOS" );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NETBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == NET_BIOS) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!netbiosAvail) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?NETBIOS is not available on this system.\n") ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y - NETBIOS_NAME_LEN > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?NETBIOS name too long, %ld maximum\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NETBIOS_NAME_LEN);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if ( !strcmp(s,tmpnbnam) ) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nettype = z; /* Returning to old connection... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1); /* Done */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (strcmp(" ",NetBiosName)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?NETBIOS name already assigned to \"%s\"\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NetBiosName);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NCB ncb;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
APIRET rc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(NetBiosName,s,16);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = y; x < NETBIOS_NAME_LEN; x++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NetBiosName[x] = SP;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NetBiosName[NETBIOS_NAME_LEN] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Checking \"%s\" as a unique NetBIOS name...\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NetBiosName);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rc = NCBAddName( NetbeuiAPI,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&ncb, NetBiosAdapter, NetBiosName );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rc) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"?Sorry, \"%s\" is already in use by another NetBIOS node.\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NetBiosName);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < NETBIOS_NAME_LEN; x++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NetBiosName[x] = SP;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NETBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NPIPE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == NET_PIPE)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(pipename,s,PIPENAML);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NPIPE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NPIPEORBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DECNET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == NET_DEC) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Determine if we are using LAT or CTERM */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(dnettab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ndnet,"DECNET protocol","lat",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ttnproto = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DECNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETDLL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == NET_DLL) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Find out which DLL they are using */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char dllname[256]="";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p=NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmifi("Dynamic load library",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",&p,&y,xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Name of DLL required\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(dllname,p,256);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (netdll_load(dllname) < 0) /* Try to load the dll */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nettype = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETDLL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nettype = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DECNET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_DEC) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DECNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NPIPE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_PIPE) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NPIPE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NETBIOS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_BIOS) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NETBIOS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETFILE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_FILE) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETFILE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCMD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_CMD) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCMD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETPTY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_PTY) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETPTY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETDLL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_DLL) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETDLL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SUPERLAT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_SLAT) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SUPERLAT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_SX25) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_VX25) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IBMX25
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_IX25) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IBMX25 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_SSH) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(nettype != NET_TCPB)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Network type not supported\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOTCPOPTS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TCPSOCKET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ttyfd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(tcpopt,ntcpopt,"TCP option","nodelay",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOHTTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_HTTP_PROXY: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct FDB sw, tx;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int n, x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char ubuf[LOGINLEN+1], pbuf[LOGINLEN+1], abuf[256];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ubuf[0] = pbuf[0] = abuf[0] = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&sw, /* First FDB - switches */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMKEY, /* fcode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"HTTP proxy server host[:port] or switch",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* addtl string data */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nuserpass, /* addtl numeric data 1: tbl size */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
4, /* addtl numeric data 2: 4 = cmswi */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring, /* Processing function */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
userpass, /* Keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&tx /* Pointer to next FDB */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&tx,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMTXT, /* fcode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"HTTP proxy server host[:port]",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* addtl string data */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0, /* addtl numeric data 1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0, /* addtl numeric data 2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfdb(&sw)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -9;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Hostname required\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fcode != _CMKEY)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n = cmresult.nresult;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (n) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case UPW_USER:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case UPW_PASS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case UPW_AGENT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfld((n == UPW_USER) ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Username" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
((n == UPW_PASS) ? "Password" : "Agent"),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", &s, xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy((n == UPW_USER) ? ubuf :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
((n == UPW_PASS) ? pbuf : abuf), s,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(n == UPW_AGENT) ? 256 : (LOGINLEN+1));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fcode != _CMTXT)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = cmresult.sresult;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s) if (!*s) s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iksdcf)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&tcp_http_proxy_user,ubuf[0]?ubuf:NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&tcp_http_proxy_pwd,pbuf[0]?pbuf:NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&tcp_http_proxy_agent,abuf[0]?abuf:NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&tcp_http_proxy,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
memset(pbuf,0,sizeof(pbuf));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOHTTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
It would have been easy to combine XYTCP_SOCKS_SVR with the previous
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
one except for the #ifdefs...
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SOCKS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_SOCKS_SVR: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char ubuf[LOGINLEN+1], pbuf[LOGINLEN+1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p = getenv("SOCKS_SERVER");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct FDB sw, tx;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int n, x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!p) p = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&sw, /* First FDB - switches */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMKEY, /* fcode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"SOCKS server host[:port] or switch",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* addtl string data */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nuserpass, /* addtl numeric data 1: tbl size */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
4, /* addtl numeric data 2: 4 = cmswi */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring, /* Processing function */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
userpass, /* Keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&tx /* Pointer to next FDB */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&tx,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMTXT, /* fcode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"SOCKS server host[:port]",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p, /* default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* addtl string data */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0, /* addtl numeric data 1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0, /* addtl numeric data 2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfdb(&sw)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = -9;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Hostname required\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fcode != _CMKEY)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n = cmresult.nresult;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (n) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case UPW_USER:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case UPW_PASS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfld((n == UPW_USER) ? "Username" : "Password",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", &s, xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy((n == UPW_USER) ? ubuf : pbuf, s, LOGINLEN+1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fcode != _CMTXT)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = cmresult.sresult;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s) if (!*s) s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iksdcf)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&tcp_socks_user,ubuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
memset(pbuf,0,sizeof(pbuf));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&tcp_socks_svr,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SOCKS_NS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_SOCKS_NS: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p = getenv("SOCKS_NS");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!p) p = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("hostname or IP of SOCKS Name Server",p,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iksdcf) return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tcp_socks_ns) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(tcp_socks_ns); /* Free any previous storage */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tcp_socks_ns = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s == NULL || *s == NUL) { /* If none given */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tcp_socks_ns = NULL; /* remove the override string */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if ((tcp_socks_ns = malloc(strlen(s)+1))) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(tcp_socks_ns,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SOCKS_NS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SOCKS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_ADDRESS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("preferred IP Address for TCP connections","",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iksdcf) return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tcp_address) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(tcp_address); /* Free any previous storage */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tcp_address = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s == NULL || *s == NUL) { /* If none given */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tcp_address = NULL; /* remove the override string */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if ((tcp_address = malloc(strlen(s)+1))) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(tcp_address,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SO_KEEPALIVE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_KEEPALIVE:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","on",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iksdcf) return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && nettype == NET_SSH && ssh_sock != -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = keepalive(ssh_sock,z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = keepalive(ttyfd,z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SO_KEEPALIVE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SO_DONTROUTE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_DONTROUTE:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","off",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iksdcf) return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && nettype == NET_SSH && ssh_sock != -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = dontroute(ssh_sock,z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = dontroute(ttyfd,z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SO_DONTROUTE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TCP_NODELAY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_NODELAY:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","off",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iksdcf) return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && nettype == NET_SSH && ssh_sock != -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = no_delay(ssh_sock,z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = no_delay(ttyfd,z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_NAGLE: /* The inverse of NODELAY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","on",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iksdcf) return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && nettype == NET_SSH && ssh_sock != -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = no_delay(ssh_sock,z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = no_delay(ttyfd,!z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TCP_NODELAY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SO_LINGER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_LINGER:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","on",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z) { /* if on, we need a timeout value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmnum("Linger timeout in 10th of a millisecond",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"0",10,&y,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iksdcf) return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && nettype == NET_SSH && ssh_sock != -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = ck_linger(ssh_sock,z,y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = ck_linger(ttyfd,z,y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SO_LINGER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SO_SNDBUF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_SENDBUF:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmnum("Send buffer size, bytes","8192",10,&z,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iksdcf) return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && nettype == NET_SSH && ssh_sock != -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = sendbuf(ssh_sock,z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = sendbuf(ttyfd,z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SO_SNDBUF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SO_RCVBUF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_RECVBUF:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmnum("Receive buffer size, bytes","8192",10,&z,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (iksdcf) return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Note: The following is not 16-bit safe */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef QNX16
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 52248) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Warning: receive buffers larger than 52248 bytes\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" may not be understood by all hosts. Performance\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" may suffer.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* QNX16 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SSHBUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && nettype == NET_SSH && ssh_sock != -1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = recvbuf(ssh_sock,z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SSHBUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = recvbuf(ttyfd,z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SO_RCVBUF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DEC_TCPIP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_UCX: { /* UCX 2.0 port swabbing bug */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ucx_port_bug;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&ucx_port_bug));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DEC_TCPIP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_RDNS: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tcp_rdns;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = setonaut(&tcp_rdns));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_DNS_SRV
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTCP_DNS_SRV: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tcp_dns_srv;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&tcp_dns_srv));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_DNS_SRV */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TCPSOCKET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOTCPOPTS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCONN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NETCONN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYHOST: { /* SET HOST */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = ttnproto; /* Save protocol in case of failure */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DECNET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (nettype != NET_DEC)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DECNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ttnproto = NP_NONE;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = setlin(XYHOST,1,0)) <= 0) { /* Sets success to 1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"SET HOST fail mdmtyp","",mdmtyp);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ttnproto = z; /* Failed, restore protocol */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
didsetlin++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"SET HOST OK mdmtyp","",mdmtyp);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"SET HOST reliable","",reliable);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NETCONN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYLINE: /* SET LINE (= SET PORT) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"setlin flow 1","",flow);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = setlin(xx,1,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > -1) didsetlin++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"SET LINE setlin","",x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"SET LINE flow","",flow);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"SET LINE local","",local);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"SET LINE reliable","",reliable);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSETKEY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKEY: /* SET KEY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dosetkey());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSETKEY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCSETS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYLANG: /* Language */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(lngtab,nlng,"","none",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Look up language and get associated character sets */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; (i < nlangs) && (langs[i].id != y); i++) ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i >= nlangs) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?internal error, sorry\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} /* */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
language = i; /* All good, set the language, */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCSETS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef MAC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYBACK: /* BACKGROUND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
bgset = z; /* 0 = off (foreground) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS /* 1 = on (background) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (batch && bgset == 0) /* To enable echoing of commands */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckxech = 1; /* in VMS batch logs */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z) { /* 1 = Background */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
bgset = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
backgrd = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
batch = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* 0 = Foreground */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
bgset = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
backgrd = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
batch = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
bgchk();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* MAC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYQUIE: { /* QUIET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DCMDBUF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int * xquiet;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int xquiet[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DCMDBUF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = seton(&quiet);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xquiet[cmdlvl] = quiet;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYBUF: { /* BUFFERS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DYNAMIC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int sb, rb;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("Send buffer size","",10,&sb,xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -3) printf("?Buffer size required\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sb < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*atmbuf == '-')
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Negative numbers can't be used here\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else printf("?Integer overflow, use a smaller number please\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (sb < 80) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Too small\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y=cmnum("Receive buffer size",ckitoa(sb),10,&rb,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rb < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*atmbuf == '-')
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Negative numbers can't be used here\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else printf("?Integer overflow, use a smaller number please\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (rb < 80) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Too small\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = inibufs(sb,rb)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = adjpkl(urpsiz,wslotr,bigrbsiz); /* Maybe adjust packet sizes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != urpsiz) urpsiz = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = adjpkl(spsiz,wslotr,bigsbsiz);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != spsiz) spsiz = spmax = spsizr = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, not available\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DYNAMIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYCHKT: /* BLOCK-CHECK */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(chktab,4,"","3",xxstring)) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
bctr = x; /* Set local too even if REMOTE SET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rmsflg) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == 4) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmpbuf[0] = 'B';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmpbuf[1] = '\0';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,ckitoa(x),TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sstate = setgen('S', "400", tmpbuf, "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return((int) sstate);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef MAC /* The Mac has no RS-232 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYCARR: /* CARRIER-WATCH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setdcd());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* MAC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TNCODE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) { /* Avoid long switch statements... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTELOP: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int c, n; /* Workers */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int getval = 0; /* Whether to get switch value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int tnserver = 0; /* Client by default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int opt = -1; /* Telnet Option */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct FDB sw, op; /* FDBs for each parse function */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTHENTICATION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sl_topt_a_s_saved;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sl_topt_a_c_saved;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sl_topt_e_s_saved;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sl_topt_e_c_saved;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver) /* Server by default when IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tnserver = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Set up chained parse functions... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&op, /* First fdb - telopts*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMKEY, /* fcode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/client, /server or", /* hlpmsg */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* addtl string data */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ntnopt, /* addtl numeric data 1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0, /* addtl numeric data 2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tnopttab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&sw
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&sw, /* Second FDB - command switches */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMKEY, /* fcode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* hlpmsg */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* default */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", /* addtl string data */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ntnoptsw, /* addtl numeric data 1: tbl size */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
4, /* addtl numeric data 2: 4 = cmswi */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring, /* Processing function */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tnoptsw, /* Keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL /* Pointer to next FDB */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (opt < 0) { /* Parse 0 or more switches */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmfdb(&op); /* Parse switch or other thing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"XYTELOP cmfdb","",x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) /* Error */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x); /* or reparse needed */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fcode != _CMKEY) /* Break out if not a switch */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
c = cmgbrk(); /* Get break character */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
getval = (c == ':' || c == '='); /* see how switch ended */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (getval && !(cmresult.kflags & CM_ARG)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?This switch does not take arguments\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = cmresult.nresult; /* Numeric result = switch value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"XYTELOP switch","",z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (z) { /* Process the switch */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_CLIENT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tnserver = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_SERVER:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tnserver = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_EC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_ECHO;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_TT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_TTYPE;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_BM:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_BINARY;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_ENV:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_NEWENVIRON;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_LOC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_SNDLOC;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_AU:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_AUTHENTICATION;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_FX:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_FORWARD_X;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_ENC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_ENCRYPTION;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_IKS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_KERMIT;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_TLS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_START_TLS;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_XD:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_XDISPLOC;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_NAWS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_NAWS;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_SGA:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_SGA;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_PHR:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_PRAGMA_HEARTBEAT;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_PSP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_SSPI_LOGON;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_PLG:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_PRAGMA_LOGON;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_SAK:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_IBM_SAK;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_CPC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_COMPORT;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_LOG:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_LOGOUT;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_FLW:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opt = TELOPT_LFLOW;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Unexpected value - %d\n",z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fdbaddr == &op)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (opt) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_ECHO: /* Options only the Server WILL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_FORWARD_X:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_SEND_URL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_IBM_SAK:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_LOGOUT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnnegtab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ntnnegtab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"desired server state",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_MODE(tnserver?TELOPT_DEF_S_ME_MODE(opt):TELOPT_DEF_C_U_MODE(opt)),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tnserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_ME_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_ME_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_U_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_U_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_TTYPE: /* Options only the Client WILL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_NEWENVIRON:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_SNDLOC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_AUTHENTICATION:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_START_TLS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_XDISPLOC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_NAWS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_LFLOW:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TELOPT_COMPORT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnnegtab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ntnnegtab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"desired client state",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_MODE(!tnserver?TELOPT_DEF_S_U_MODE(opt):TELOPT_DEF_C_ME_MODE(opt)),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tnserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_U_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_U_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTHENTICATION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (opt == TELOPT_AUTHENTICATION)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_topt_a_s_saved = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_ME_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_ME_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTHENTICATION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (opt == TELOPT_AUTHENTICATION)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_topt_a_c_saved = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnnegtab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ntnnegtab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tnserver ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"desired server state" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"desired client state",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_MODE(tnserver?TELOPT_DEF_S_ME_MODE(opt):TELOPT_DEF_C_ME_MODE(opt)),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(tnnegtab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ntnnegtab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
!tnserver ? "desired server state" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"desired client state",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_MODE(!tnserver?TELOPT_DEF_S_U_MODE(opt):TELOPT_DEF_C_U_MODE(opt)),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tnserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_ME_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_ME_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_U_MODE(opt) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_U_MODE(opt) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENCRYPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (opt == TELOPT_ENCRYPTION)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_topt_e_s_saved = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENCRYPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_ME_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_ME_MODE(opt) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_U_MODE(opt) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_U_MODE(opt) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENCRYPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (opt == TELOPT_ENCRYPTION)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_topt_e_c_saved = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENCRYPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTEL: /* TELNET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(tntab,ntn,"parameter for TELNET negotiations", "",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_EC: /* ECHO */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(rltab,nrlt,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"initial TELNET echoing state",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"local",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_duplex = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_RE: /* REMOTE-ECHO */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&tn_rem_echo));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_DB: /* DEBUG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&tn_deb));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_TT: /* TERMINAL TYPE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("terminal type for TELNET connections","",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tn_term) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(tn_term); /* Free any previous storage */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_term = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s == NULL || *s == NUL) { /* If none given */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_term = NULL; /* remove the override string */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if ((tn_term = malloc(strlen(s)+1))) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(tn_term,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_FORWARD_X
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_FX: /* FORWARD-X */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x=cmkey(tnfwdxtab,ntnfwdx,"","xauthority-file",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0: { /* Xauthority-File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmifi("Full path of .Xauthority file","",&s,&y,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0 && x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&tn_fwdx_xauthority,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: { /* No-Encryption */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int fwdx_no_encrypt;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&fwdx_no_encrypt));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_FORWARD_X */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_NL: /* TELNET NEWLINE-MODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tn_nlmtab,ntn_nlm,"","nvt",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == TN_NL_BIN) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnlmtab,ntnlm,"","raw",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_b_nlm = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x == TN_NL_NVT) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnlmtab,ntnlm,"","on",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_nlm = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_nlm = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_XF: /* BINARY-TRANSFER-MODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","on",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_b_xfer = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_NE: /* NO-ENCRYPT-DURING-XFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","on",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_APC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Don't let this be set remotely */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (apcactive == APC_LOCAL ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_APC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_no_encrypt_xfer = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_BM: /* BINARY-MODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnnegtab,ntnnegtab,"","refused",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_ME_MODE(TELOPT_BINARY) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_U_MODE(TELOPT_BINARY) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_ME_MODE(TELOPT_BINARY) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_U_MODE(TELOPT_BINARY) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKS_OPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_IKS: /* KERMIT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnnegtab,ntnnegtab,"DO","accept",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(tnnegtab,ntnnegtab,"WILL","accept",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_ME_MODE(TELOPT_KERMIT) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_U_MODE(TELOPT_KERMIT) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_ME_MODE(TELOPT_KERMIT) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_U_MODE(TELOPT_KERMIT) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKS_OPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_TLS: /* START_TLS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnnegtab,ntnnegtab,"me","accept",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(tnnegtab,ntnnegtab,"u","accept",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_ME_MODE(TELOPT_START_TLS) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_U_MODE(TELOPT_START_TLS) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_ME_MODE(TELOPT_START_TLS) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_U_MODE(TELOPT_START_TLS) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_NAWS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_NAWS: /* NAWS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnnegtab,ntnnegtab,"me","accept",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(tnnegtab,ntnnegtab,"u","accept",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_ME_MODE(TELOPT_NAWS) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_U_MODE(TELOPT_NAWS) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_ME_MODE(TELOPT_NAWS) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_U_MODE(TELOPT_NAWS) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_NAWS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTHENTICATION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_AU: /* AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnauthtab,ntnauth,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == TN_AU_FWD) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int forward_flag;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&forward_flag));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x == TN_AU_TYP) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int auth_type_user[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sl_auth_type_user[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int sl_auth_saved;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, j, atypes[AUTHTYPLSTSZ];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < AUTHTYPLSTSZ; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(autyptab,nautyp,"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i == 0 ? "automatic" : "" ,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i > 0 && (y == AUTHTYPE_AUTO || y == AUTHTYPE_NULL)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"\r\n?Choice may only be used in first position.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (j = 0; j < i; j++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (atypes[j] == y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\r\n?Choice has already been used.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
atypes[i] = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == AUTHTYPE_NULL || y == AUTHTYPE_AUTO) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i < AUTHTYPLSTSZ)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
atypes[i] = AUTHTYPE_NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_auth_saved = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < AUTHTYPLSTSZ; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
auth_type_user[i] = atypes[i];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_auth_type_user[i] = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x == TN_AU_HOW) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(auhowtab,nauhow,"","any",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_auth_how = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (x == TN_AU_ENC) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(auenctab,nauenc,"","encrypt",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_auth_enc = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_ME_MODE(TELOPT_AUTHENTICATION) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_U_MODE(TELOPT_AUTHENTICATION) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENCRYPTION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_ENC: { /* ENCRYPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int c, tmp = -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int getval = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static struct keytab * tnetbl = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
static int ntnetbl = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(tnenctab,ntnenc,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TN_EN_TYP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = ck_get_crypt_table(&tnetbl,&ntnetbl);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"ck_get_crypt_table x","",x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"ck_get_crypt_table n","",ntnetbl);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 1 || !tnetbl || ntnetbl < 1) /* Didn't get it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Oops, types not loaded\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnetbl,ntnetbl,"type of encryption",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"automatic",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cx_type = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_cx_type = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TN_EN_START:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_APC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Don't let this be set remotely */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (apcactive == APC_LOCAL ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
apcactive == APC_REMOTE && !(apcstatus & APC_UNCH))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_APC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ck_tn_enc_start();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TN_EN_STOP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_APC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Don't let this be set remotely */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (apcactive == APC_LOCAL ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
apcactive == APC_REMOTE && !(apcstatus & APC_UNCH))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_APC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ck_tn_enc_stop();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_ME_MODE(TELOPT_ENCRYPTION) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_U_MODE(TELOPT_ENCRYPTION) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_ME_MODE(TELOPT_ENCRYPTION) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_U_MODE(TELOPT_ENCRYPTION) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENCRYPTION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_BUG: /* BUG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnbugtab,4,"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary-me-means-u-too",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","off",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_b_meu = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_b_ume = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 2:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_infinite = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 3:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_sb_bug = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 4:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_auth_krb5_des_bug = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ENVIRONMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_XD: /* XDISPLOC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnnegtab,ntnnegtab,"me","accept",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(tnnegtab,ntnnegtab,"u","accept",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_ME_MODE(TELOPT_XDISPLOC) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_S_U_MODE(TELOPT_XDISPLOC) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_ME_MODE(TELOPT_XDISPLOC) = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
TELOPT_DEF_C_U_MODE(TELOPT_XDISPLOC) = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_ENV: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * msg = "value of telnet environment variable";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tn_env_flg;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char tn_env_acct[], tn_env_disp[], tn_env_job[],
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_env_prnt[], tn_env_sys[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * tn_loc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(tnenvtab,ntnenv,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == TN_ENV_UVAR) { /* User variables */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * uvar=NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * uval=NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * env;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * tn_env_uservar[8][2];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Get the user variable name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmfld("Name of Environment Variable","",&s,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&uvar,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
env = getenv(uvar);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!env) env = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt("Value of Environment Variable",env,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&uval,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Now that we have the variable and perhaps a value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* there are three possibilities: (1) new variable */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* and associated value; (2) variable already exists */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* but we have a new value; (3) variable already */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* exists but no new value therefore the user wants */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* to clear variable. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Try to find an existing variable */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < 8; x++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!ckstrcmp(tn_env_uservar[x][0],uvar,-1,0)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (uval) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(tn_env_uservar[x][1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_env_uservar[x][1] = uval;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(uvar);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(tn_env_uservar[x][0]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_env_uservar[x][0] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(tn_env_uservar[x][1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_env_uservar[x][1] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(uvar);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Couldn't find one; look for empty location to insert */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (x = 0; x < 8; x++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!tn_env_uservar[x][0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_env_uservar[x][0] = uvar;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_env_uservar[x][1] = uval;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, no space for variable.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == TN_ENV_OFF || x == TN_ENV_ON) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_env_flg = x == TN_ENV_OFF ? 0 : 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Not ON/OFF - Get the value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = cmdgquo();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmdsquo(0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt(msg, "", &s, xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmdsquo(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmdsquo(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((int)strlen(s) > 63) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, too long\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TN_ENV_USR:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(uidbuf,s,UIDBUFLEN);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_uid_saved = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TN_ENV_ACCT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tn_env_acct,s,64);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TN_ENV_DISP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tn_env_disp,s,64);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TN_ENV_JOB:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tn_env_job,s,64);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TN_ENV_PRNT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tn_env_prnt,s,64);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TN_ENV_SYS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tn_env_sys,s,64);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TN_ENV_LOC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s) s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&tn_loc,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case TN_ENV_UVAR:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?Not yet implemented\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ENVIRONMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SNDLOC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_LOC: { /* LOCATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * tn_loc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("Location string","",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s) s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&tn_loc,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SNDLOC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_SFU: /* Microsoft SFU compatibility */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","on",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_sfu = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_WAIT: /* WAIT-FOR-NEGOTIATIONS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","on",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
iksdcf
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_wait_flg = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_tn_saved = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_DL: /* DELAY SUBNEGOTIATIONS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","on",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
iksdcf
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tn_delay_sb = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case CK_TN_PUID: { /* PROMPT-FOR-USERID */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i,len;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("Prompt string","",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s == "") s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s == "") s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* we must check to make sure there are no % fields */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len = strlen(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < len; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[i] == '%') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[i+1] != '%') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%% fields are not used in this command.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&tn_pr_uid,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TNCODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYCOUN: /* SET COUNT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmnum("Positive number","0",10,&z,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?A positive number, please\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"XYCOUN: z","",z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = setnum(&count[cmdlvl],z,0,10000));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYCASE:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&inpcas[cmdlvl]));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYCMD: /* COMMAND ... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(scmdtab,nbytt,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_CBR:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
concb((char)escape);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_BSZ:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("bytesize for command characters, 7 or 8","7",10,&x,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != 7 && x != 8) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?The choices are 7 and 8\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == 7) cmdmsk = 0177;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (x == 8) cmdmsk = 0377;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RECALL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_RCL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("maximum number of commands in recall buffer","10",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
10,&x,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = cmrini(x));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RECALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RECALL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_RTR:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&cm_retry));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RECALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_MOR: /* More-prompting */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = seton(&xaskmore);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (success)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
saveask = xaskmore;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_QUO:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = seton(&y)) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmdsquo(y); /* Do it the right way */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmd_quoting = y; /* Also keep a global copy */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Set string-processing function */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef datageneral
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring = y ? zzstring : (xx_strp) NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_ANSIC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring = y ? zzstring : (xx_strp) NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring = y ? zzstring : (xx_strp) NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_ANSIC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* datageneral */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_COL: { /* Command-screen colors */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int fg, bg;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fg = cmkey(ttyclrtab, nclrs,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"foreground color and then background color",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"white",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (fg < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(fg);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((bg = cmkey(ttyclrtab,nclrs,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"background color","black",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(bg);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
colorcmd = fg | bg << 4;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_SCR: /* Command Scrollback size */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("COMMAND scrollback buffer size, lines","512",10,&x,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* The max number of lines is the RAM */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* we can actually dedicate to a */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* scrollback buffer given the maximum */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* process memory space of 512MB */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 256 || x > 2000000L) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?The size must be between 256 and 2,000,000.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tt_scrsize[VCMD] = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VscrnInit( VCMD );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_WID: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("Number of columns in display window",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"80",10,&x,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
os2_setcmdwidth(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_HIG:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("Number of rows in display window",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"24",10,&x,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
os2_setcmdheight(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_STA: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int marginbot;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(onoff,2,"","on",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != tt_status[VCMD]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Might need to fixup the margins */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tt_status[VCMD] = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tt_szchng[VCMD] = 2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tt_rows[VCMD]--;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmd_rows--;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VscrnInit(VCMD); /* Height set here */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tt_szchng[VCMD] = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tt_rows[VCMD]++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmd_rows++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VscrnInit(VCMD); /* Height set here */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_CUR: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int row, col;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
position * ppos;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ppos = VscrnGetCurPos(VCMD);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define itoa _itoa
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
itoa(ppos->y+1, tmpbuf, 10);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("row (1-based)",tmpbuf,10,&row,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
itoa(ppos->x+1, tmpbuf, 10);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("col (1-based)",tmpbuf,10,&col,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
lgotoxy( VCMD, col, row ) ;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VscrnIsDirty( VCMD );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success=1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_WID:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Command screen width, characters","80",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setnum(&cmd_cols,x,y,1024));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_HIG:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Command screen height, rows","24",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setnum(&cmd_rows,x,y,1024));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_INT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&cmdint));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTODL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_ADL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&cmdadl));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTODL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DOUBLEQUOTING
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SCMD_DBQ: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int dblquo;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&dblquo));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DOUBLEQUOTING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDFLT: /* SET DEFAULT = CD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = docd(XXCWD));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDEBU: /* SET DEBUG { on, off, session } */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(dbgtab,ndbg,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == DEB_TIM)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&debtim) < 0 ? x : (success = 1));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* why this change? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&debtim));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver && isguest) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case DEB_LEN:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Max length for debug log strings","",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = setnum(&debxlen,x,y,-1)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case DEB_OFF:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setdebses(0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DEBUG
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (deblog) doclslog(LOGD);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DEBUG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case DEB_ON:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef DEBUG
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
deblog = debopn("debug.log", 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = deblog ? 1 : 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, debug log feature not enabled\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* DEBUG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case DEB_SES:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setdebses(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDELA: /* SET DELAY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Number of seconds before starting to send",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"5",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) x = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = setnum(&ckdelay,x,y,999));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_TAPI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAPI:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(settapi());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_TAPI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NODIAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDIAL: /* SET MODEM or SET DIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setdial(-1));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYMODM:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setmodem());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* not implemented yet */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYANSWER: /* SET ANSWER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setanswer());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NODIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDUPL: /* SET DUPLEX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(dpxtab,2,"","full",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
duplex = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYLCLE: /* LOCAL-ECHO (= DUPLEX) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&duplex));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYESC: /* SET ESCAPE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = setcc(ckitoa(DFESC),&escape));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYEXIT: /* SET EXIT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(xittab,nexit,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0: /* STATUS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("EXIT status code","",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = setnum(&xitsta,x,y,-1));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: /* WARNING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(xitwtab,nexitw,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setexitwarn(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 2:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = seton(&exitonclose);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TCPSOCKET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (success) tn_exit = exitonclose;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TCPSOCKET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 3: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int exithangup;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return((success = seton(&exithangup)));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} /* End of SET EXIT switch() */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYFILE: /* SET FILE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setfil(rmsflg));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYFLOW: { /* FLOW-CONTROL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int cxflow[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
struct FDB k1, k2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int tncomport = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * m;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && istncomport())
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tncomport = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tncomport) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
m = "Flow control type, one of the following:\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dtr/cd dtr/cts keep none rts/cts xon/xoff\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or connection type";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* All this is because chained FDB's don't give chained help yet */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
m =
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef Plan9
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RTSCTS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Flow control type, one of the following:\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
keep none rts/cts\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or connection type",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Flow control type, one of the following:\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
keep none\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or connection type";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RTSCTS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_RTSCTS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_DTRCD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_DTRCTS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Flow control type, one of the following:\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dtr/cd dtr/cts keep none rts/cts xon/xoff\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or connection type";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* CK_DTRCTS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Flow control type, one of the following:\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dtr/cd keep none rts/cts xon/xoff\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or connection type";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_DTRCTS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* CK_DTRCD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_DTRCTS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Flow control type, one of the following:\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dtr/cts keep none rts/cts xon/xoff\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or connection type";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* CK_DTRCTS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Flow control type, one of the following:\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
keep none rts/cts xon/xoff\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or connection type";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_DTRCTS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_DTRCD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Flow control type, one of the following:\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
keep none xon/xoff\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or connection type";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_RTSCTS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* Plan9 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&k1,_CMKEY,m,"","",ncxtypesw, 4, xxstring, cxtypesw, &k2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfdbi(&k2,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
_CMKEY,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(tncomport ? ntnflo : nflo),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nflo,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(tncomport ? tnflotab : flotab),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
flotab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmfdb(&k1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) { /* Error */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -2 || x == -9)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?No keywords or switches match: \"%s\"\n",atmbuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = cmresult.nresult; /* Keyword value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (cmresult.fdbaddr == &k2) { /* Flow-control type keyword table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) /* Set it immediately */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
flow = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"set flow","",flow);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SPEED
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (flow == FLO_XONX) /* Xon/Xoff forces prefixing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ctlp[XON] = ctlp[XOFF] = ctlp[XON+128] = ctlp[XOFF+128] = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SPEED */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
autoflow = (flow == FLO_AUTO);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1); /* Done */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"set flow /blah 1","",z); /* SET FLOW /for-what */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(flotab,nflo,"Flow control type","none",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"set flow /blah 2","",y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == FLO_AUTO) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"?Sorry, \"automatic\" can not be assigned to a connection type.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (z >= 0 && z <= CXT_MAX)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cxflow[z] = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"set flow","",flow);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"set flow autoflow","",autoflow);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYHAND: /* HANDSHAKE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(hshtab,nhsh,"","none",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == 998) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmnum("ASCII value","",10,&y,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y < 1) || ((y > 31) && (y != 127))) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Character must be in ASCII control range\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
turn = (y > 0127) ? 0 : 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
turnch = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYMACR: /* SET MACRO */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(smactab,2,"","",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0: return(success = seton(&mecho));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: return(success = seton(&merror[cmdlvl]));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYMSGS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
vms_msgs = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, SET MESSAGES not implemented yet\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYPARI: /* PARITY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(partbl,npar,"","none",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* If parity not none, then we also want 8th-bit prefixing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef HWPARITY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == 'H') { /* Hardware */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(hwpartbl,nhwpar,"","even",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* HWPARITY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef HWPARITY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == 'H') { /* 8 data bits plus hardware parity */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
parity = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ebqflg = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
hwparity = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* 7 data bits + software parity */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
hwparity = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* HWPARITY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
parity = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ebqflg = (parity) ? 1 : 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef HWPARITY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* HWPARITY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && istncomport())
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tnsettings(parity, 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOFRILLS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYPROM: /* SET PROMPT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Note: xxstring not invoked here. Instead, it is invoked every time the
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prompt is issued. This allows the prompt string to contain variables
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
that can change, like \v(dir), \v(time), etc.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(line, /* Default might have trailing space */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
LINBUFSIZ,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"{",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
inserver ? ikprompt : ckprompt,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"}",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt("Program's command prompt",line,&s,NULL)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s); /* Remove enclosing braces, if any */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmsetp(s); /* Set the prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOFRILLS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYRETR: /* RETRY: per-packet retry limit */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Maximum retries per packet","10",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) x = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = setnum(&maxtry,x,y,999)) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (maxtry <= wslotr) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Retry limit must be greater than window size\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rmsflg) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sstate = setgen('S', "403", ckitoa(maxtry), "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return((int) sstate);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else return(success = x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSERVER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSERV: /* SET SERVER items */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(srvtab,nsrvt,"","",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSERI:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("Number of seconds, or 0 for no idle timeout",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"0",10,&x,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
srvtim = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
srvidl = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSERT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("Interval for server NAKs, 0 = none",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckitoa(DSRVTIM),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
10,&x, xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"\n?Specify a positive number, or 0 for no server NAKs\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rmsflg) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sstate = setgen('S', "404", ckitoa(x), "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return((int) sstate);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
srvidl = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
srvtim = x; /* Set the server timeout variable */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSERD: /* SERVER DISPLAY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&srvdis)); /* ON or OFF... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSERP: /* SERVER GET-PATH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(parsdir(2));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSERL: /* SERVER LOGIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(cklogin());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSERC: /* SERVER CD-MESSAGE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = rmsflg ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmkey(onoff,2,"","",xxstring) :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmkey(cdmsg,3,"","",xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == 2) { /* CD-MESSAGE FILE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt("Name of file","",&s,NULL)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
srvcdmsg = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&cdmsgstr,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makelist(cdmsgstr,cdmsgfile,8);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) /* CD-MESSAGE ON/OFF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rmsflg) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sstate = setgen('S', "420", x ? "1" : "0", "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return((int) sstate);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
srvcdmsg |= 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
srvcdmsg &= 2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSERK: /* SERVER KEEPALIVE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&srvping)); /* ON or OFF... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSERVER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOJC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSUSP: /* SET SUSPEND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
seton(&xsuspend); /* on or off... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOJC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTAKE: /* SET TAKE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(taktab,4,"","",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0: return(success = seton(&techo));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: return(success = seton(&takerr[cmdlvl]));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: return(success = seton(&takerr[tlevel]));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 2: techo = 0; return(success = 1); /* For compatibility with */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 3: techo = 1; return(success = 1); /* MS-DOS Kermit */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSCRIPT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSCRI: /* SET SCRIPT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(scrtab,1,"","echo",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0: return(success = seton(&secho));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSCRIPT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTERM: /* SET TERMINAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = settrm();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = (x > 0) ? 1 : 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYWIN95: /* SET WIN95 workarounds */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = setwin95();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = (x > 0 ? 1 : 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDLR: /* SET DIALER workarounds */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = setdialer();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = (x > 0 ? 1 : 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTITLE: /* SET TITLE of window */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = settitle();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
success = (x > 0 ? 1 : 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2MOUSE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYMOUSE: /* SET MOUSE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = setmou());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2MOUSE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYBELL: /* SET BELL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = setbell());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYPRTY:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = setprty() );
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* SET SEND/RECEIVE protocol parameters. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYRECV:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSEND:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setsr(xx,rmsflg));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSESS: /* SESSION-LOG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(sfttab,nsfttab,"type of file",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"binary",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"text",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == 999) { /* TIMESTAMPED-TEXT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sessft = XYFT_T; /* Implies text */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
slogts = 1; /* and timestamps */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* A regular type */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sessft = x; /* The type */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
slogts = 0; /* No timestampes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSPEE: /* SET SPEED */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
lp = line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (local && !network) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(lp,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
LINBUFSIZ,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Transmission rate for ",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ttname,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" (bits per second)",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(lp,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Serial-port speed (bits per second)",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
LINBUFSIZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = -1L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && istncomport())
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmkey(tnspdtab,ntnspd,line,"",xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmkey(spdtab,nspd,line,"",xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) printf("?value required\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef USETCSETSPEED
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* In this case, any number can be tried */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* There's a parse error message but the request still goes thru */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rdigits(atmbuf))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = atol(atmbuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* USETCSETSPEED */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!local) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?SET SPEED has no effect without prior SET LINE\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (network
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&& !istncomport()
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n?Speed cannot be set for network connections\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Note: This way of handling speeds is not 16-bit safe for speeds greater
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
than 230400. The argument to ttsspd() should have been a long.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef USETCSETSPEED
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz > -1L)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = zz / 10L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* USETCSETSPEED */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = (long) x * 10L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz == 130L) zz = 134L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz == 70L) zz = 75L; /* (see spdtab[] definition) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ttsspd(x) < 0) { /* Call ttsspd with cps, not bps! */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Unsupported line speed - %ld\n",zz);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_TAPI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!tttapi || tapipass)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
speed = ttgspd(); /* Read it back */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
speed = zz;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* CK_TAPI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
speed = ttgspd(); /* Read it back */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_TAPI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (speed != zz) { /* Call ttsspd with cps, not bps! */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?SET SPEED fails, speed is %ld\n",speed);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pflag && !xcmdsrc) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (speed == 8880)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s, 75/1200 bps\n",ttname);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (speed == 134)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s, 134.5 bps\n",ttname);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s, %ld bps\n",ttname,speed);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYXFER: /* SET TRANSFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(rmsflg ? rtstab : tstab, /* (or REMOTE SET TRANSFER) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rmsflg ? nrts : nts,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"","character-set",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef XFRCAN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_CAN: /* CANCELLATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(onoff,2,"","",xxstring)) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == 0) { /* OFF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xfrcan = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("ASCII code for cancellation character",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"3",10,&x,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 31 && x != 127) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Cancel character must be 0-31 or 127\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("How many required to cause cancellation",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"2",10,&z, xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z < 2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Number must be 2 or greater\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xfrcan = 1; /* CANCELLATION ON */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xfrchr = x; /* Using this character */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xfrnum = z; /* Needing this many of them */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* XFRCAN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCSETS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_CSE: /* CHARACTER-SET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(tcstab,ntcs,"","transparent",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rmsflg) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sstate = setgen('S', "405", tcsinfo[y].designator, "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return((int) sstate);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int s_cset, fcharset, axcset[], tcs_save;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tslevel = (y == TC_TRANSP) ? 0 : 1; /* transfer syntax level */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xfrxla = tslevel;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tcharset = y; /* transfer character set */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* SEND CHARACTER-SET AUTO */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tslevel > 0 && s_cset == XMODE_A)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y > -1 && y <= MAXTCSETS)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (axcset[y] > -1 && axcset[y] > MAXFCSETS)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
fcharset = axcset[y]; /* Auto-pick file charset */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setxlatype(tcharset,fcharset); /* Translation type */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tcs_save = -1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCSETS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_LSH: /* LOCKING-SHIFT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(lstab,nls,"","on",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
lscapr = (y == 1) ? 1 : 0; /* ON: requested = 1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
lscapu = (y == 2) ? 2 : 0; /* FORCED: used = 1 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_XYZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_PRO: /* Protocol */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, only Kermit protocol is available\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setproto());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_XYZ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_MOD: /* Mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(xfrmtab,2,"","automatic",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rmsflg) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sstate = setgen('S', "410", y == XMODE_A ? "0" : "1", "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return((int)sstate);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
g_xfermode = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xfermode = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_DIS: /* Display */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(doxdis(1)); /* 1 == Kermit */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_SLO: /* Slow-start */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&slostart));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_CRC: /* CRC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&docrc));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_BEL: /* Bell */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&xfrbel));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef PIPESEND
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_PIP: /* Pipes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOPUSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (nopush) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOPUSH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, access to pipes is disabled\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOPUSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOPUSH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&usepipes));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* PIPESEND */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_INT: /* Interruption */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&xfrint));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_XLA:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&xfrxla)); /* Translation */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_MSG: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * xfrmsg;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt("Prompt string","",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s) s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&xfrmsg,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYX_RPT: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int whereflg;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&whereflg));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXMIT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYXMIT: /* SET TRANSMIT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setxmit());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXMIT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCSETS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYUNCS: /* UNKNOWN-CHARACTER-SET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(ifdtab,2,"","discard",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
unkcs = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCSETS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOPUSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYWILD: /* WILDCARD-EXPANSION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(wildtab,nwild,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Wildcard expansion option","on",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(wdottab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
2,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"whether to match filenames that start with \".\"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"/no-match-dot-files",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (nopush) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y > 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Shell expansion is disabled\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case WILD_ON:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
wildena = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case WILD_OFF:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
wildena = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case WILD_KER:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
wildxpand = 0; /* These are the previous */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break; /* hardwired values */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case WILD_SHE:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
wildxpand = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
matchdot = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOPUSH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYWIND: /* WINDOW-SLOTS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (protocol == PROTO_K) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Window size for Kermit protocol, 1 to 32",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"1", 10, &x, xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = setnum(&z,x,y,MAXWS); /* == 32 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_XYZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (protocol == PROTO_Z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Window size for ZMODEM protocol, 0 to 65535",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"0", 10, &x, xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = setnum(&z,x,y,65535);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_XYZ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Window size for current protocol",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", 10, &x, xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = setnum(&z,x,y,65472); /* Doesn't matter - we won't use it */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (protocol == PROTO_K) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z < 1)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_XYZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (protocol == PROTO_Z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Zmodem windowing is closer to Kermit packet length */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* than Kermit window size. If Window size is zero */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* an end of frame and CRC is sent only at the end of */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* the file (default). Otherwise, an End of Frame */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* and CRC are sent after Window Size number of bytes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z < 0) /* Disable windowing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?SET WINDOW does not apply to %s protocol\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ptab[protocol].p_name
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_XYZ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* This is taken care of automatically now in protocol negotiation */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (maxtry < z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Window slots must be less than retry limit\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (protocol == PROTO_K && rmsflg) { /* Set remote window size */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
wslotr = z; /* Set local window size too */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ptab[protocol].winsize = wslotr;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sstate = setgen('S', "406", ckitoa(z), "");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return((int) sstate);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
wslotr = z; /* Set requested window size here */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ptab[protocol].winsize = wslotr; /* and in protocol-specific table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (protocol == PROTO_K) { /* And for Kermit only... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
swcapr = (wslotr > 1) ? 1 : 0; /* set window bit in capas word */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (wslotr > 1) { /* Window size > 1? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Maybe adjust packet size */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = adjpkl(urpsiz,wslotr,bigrbsiz);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != urpsiz) { /* Did it change? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
urpsiz = y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (msgflg)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" Adjusting receive packet-length to %d for %d window slots\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
urpsiz,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
wslotr
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYOUTP: /* OUTPUT command parameters */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(outptab,noutptab,"OUTPUT command parameter","pacing",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch(y) { /* Which parameter */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case OUT_PAC: /* PACING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Milliseconds to pause between each OUTPUT character",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"100", 10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = setnum(&z,x,y,16383); /* Verify and get confirmation */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z < 0) z = 0; /* (save some space) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pacing = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case OUT_ESC: /* Special-escapes */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&outesc));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: /* (shouldn't happen) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SPEED
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYQCTL: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
short *p;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int zz;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(ctltab,2, "control-character prefixing option",""
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Make space for a temporary copy of the prefixing table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = (short *)malloc(256 * sizeof(short));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!p) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Internal error - malloc failure\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < 256; i++) p[i] = ctlp[i]; /* Copy current table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0: /* UNPREFIXED control character */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: /* PREFIXED control character */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
while (1) { /* Collect a list of numbers */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x_ifnum = 1; /* Turn off complaints from eval() */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmnum((z == 0) ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"\n Numeric ASCII value of control character that needs NO prefix,\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or the word \"all\", or carriage return to complete the list" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"\n Numeric ASCII value of control character that MUST BE prefixed,\n\
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
or the word \"all\", or carriage return to complete the list",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",10,&y,xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x_ifnum = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p) { free((char *)p); p = NULL; }
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F110,"SET CONTROL atmbuf",atmbuf,0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!ckstrcmp(atmbuf,"all",3,0) || /* "ALL" */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
!ckstrcmp(atmbuf,"al",2,0) ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
!ckstrcmp(atmbuf,"a",1,0)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) /* Get confirmation */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
prefixing = z ? PX_ALL : PX_NON;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setprefix(prefixing);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Not number, not ALL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"?Please specify a number or the word ALL\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p) free((char *)p);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x_ifnum = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNPREFIXZERO
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = 1 - z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = 0; /* Allow 0 (but only for Zmodem) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNPREFIXZERO */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* printf("x = %d, y = %d, z = %d, zz = %d\n", x,y,z,zz); */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y > 31 && y < 127) || /* A specific numeric value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(y > 159 && y < 255) || /* Check that it is a valid */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(y < zz) || /* control code. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(y > 255)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Values allowed are: %d-31, 127-159, 255\n",zz);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p) free((char *)p);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = y & 127; /* Get 7-bit value */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == 0) { /* If they are saying it is safe... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* If flow control is Xon/Xoff */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (((flow == FLO_XONX) &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* XON & XOFF chars not safe. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(x == XON || x == XOFF))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (msgflg)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Sorry, not while Xon/Xoff is in effect.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p) free((char *)p);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TNCODE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (network && IS_TELNET()
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&& (y == CR ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(unsigned) y == (unsigned) 255)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (msgflg)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, not on a TELNET connection.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p) free((char *)p);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TNCODE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p[y] = (char) z; /* All OK, set flag */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} /* End of while loop */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Get here only if they have made no mistakes. Copy temporary table back to
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
permanent one, then free temporary table and return successfully.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < 256; i++) ctlp[i] = p[i];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p) free((char *)p);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z > 0) clearrq = 0; /* 199 (see SET PREFIXING) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SPEED */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYREPT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(rpttab,2,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"repeat-count compression parameter","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch(y) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = seton(&rptena)); /* REPEAT COUNTS = ON, OFF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: /* REPEAT MININUM number */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("(not implemented yet, nothing happens)\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 2: /* REPEAT PREFIX char */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmnum("ASCII value","",10,&z,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z > 32 && z < 63) || (z > 95 && z < 127)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == 1) rptmin = (CHAR) z; else myrptq = (CHAR) z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Illegal value for prefix character\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYALRM: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int yy;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long zz;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = -1L;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
yy = x_ifnum;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x_ifnum = 1; /* Turn off internal complaints */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Seconds from now, or time of day as hh:mm:ss",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"0" ,10, &x, xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x_ifnum = yy;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y == -2) { /* Invalid number or expression */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz = tod2sec(atmbuf); /* Convert to secs since midnight */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz < 0L) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Number, expression, or time of day required\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char now[32]; /* Current time */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *p;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
long tnow;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = now;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ztime(&p);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tnow = atol(p+11) * 3600L +
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
atol(p+14) * 60L + atol(p+17);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz < tnow) /* User's time before now */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz += 86400L; /* So make it tomorrow */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zz -= tnow; /* Seconds from now. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Alarm time is in the past.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz > -1L) { /* Time of day given? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = zz;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (zz != (long) x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Sorry, arithmetic overflow - hh:mm:ss not usable on this platform.\n"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setalarm((long)x));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
This is to allow long values where int and long are not the same, e.g.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
on 16-bit systems. But something is wrong with it.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("seconds from now", "0", &s, xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (rdigits(s)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setalarm(atol(s)));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s - not a number\n",s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYPROTO:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setproto());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
C-Kermit unprefixes control characters automatically on network connections
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if CLEAR-CHANNEL is ON, which it is by default. But not all network
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
connections are transparent to all control characters. For example, the
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
DEC-20, even when you TELNET to it, is sensitive to Ctrl-O and Ctrl-T.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
If you tell C-Kermit to SET CONTROL PREFIX 15 and/or 20, it doesn't help
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
because CLEAR-CHANNEL is still in effect. If the user goes to the trouble
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
to set up some prefixing, then Kermit should do what the user said. In
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
C-Kermit 7.1 Alpha.03 we change the code to set clearrq to 0 if the user
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
gives a SET PREFIXING or SET CONTROL PREFIX command.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SPEED
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYPREFIX: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int clearrq;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(pfxtab, 4, "control-character prefixing option",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
clearrq = 0; /* 199 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setprefix(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (hints && (z == PX_ALL || z == PX_CAU) && clearrq) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Hint: Use SET CLEAR-CHANNEL OFF to disable negotiation of\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" SET PREFIXING NONE during file transfers on reliable\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" connections.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SPEED */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYLOGIN:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(logintab, 3, "value for login script","userid",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmdgquo();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == LOGI_PSW)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmdsquo(0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("text","", &s, NULL)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmdsquo(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmdsquo(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((int)strlen(s) > 63) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, too long\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch(z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case LOGI_UID:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(uidbuf,s,UIDBUFLEN);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sl_uid_saved = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case LOGI_PSW:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(pwbuf,s,PWBUFL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (pwbuf[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pwflg = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pwcrypt = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
pwcrypt = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case LOGI_PRM:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(prmbuf,s,PWBUFL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (xx) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSTARTUP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmkey(ifdtab,2,"","discard",xxstring)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
DeleteStartupFile = (y != 0) ? 0 : 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTMPDIR:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmdir("Name of temporary directory","",&s,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if (x < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&tempdir,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(tempdir ? 1 : 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDEST: /* DESTINATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setdest());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOPUSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOFRILLS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Editor, Browser, and FTP Client */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYEDIT: /* EDITOR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_APC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Don't let this be set remotely */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (apcactive == APC_LOCAL ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_APC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2ORUNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *p = getenv("PATH");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *e;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
e = editor[0] ? (char *) editor : getenv("EDITOR");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!e) e = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmifip("Name of preferred editor",e,&s,&y,0,p,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmifi("Full path of preferred editor",e,&s,&y,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0 && x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("DCL command for editing", "edit", &s, NULL)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmifi("Full path of preferred editor","",&s,&y,xxstring))<0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2ORUNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(editor,s,CKMAXPATH);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
editopts[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?A single file please\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt("editor command-line options","",&s,NULL)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,s,TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (line[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zfnqfp(line,CKMAXPATH,editor);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(editopts,tmpbuf,128);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
editor[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
editopts[0] = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef SYSFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TCPSOCKET
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYFTPX:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dosetftp()); /* SET FTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TCPSOCKET */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SYSFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef BROWSER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SYSFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYFTP: /* SET FTP-CLIENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SYSFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYBROWSE: /* SET BROWSER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
{
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *p = getenv("PATH");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *app = (char *) browser, *opts = (char *) browsopts;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SYSFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char ftpapp[], ftpopts[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (xx == XYFTP) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
app = (char *)ftpapp;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
opts = (char *)ftpopts;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SYSFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_APC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Don't let this be set remotely */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (apcactive == APC_LOCAL ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_APC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2ORUNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmifip(xx == XYBROWSE ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Name of preferred browser" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Name of preferred ftp client",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xx == XYFTP ? "ftp.exe" : ""
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xx == XYFTP ? "ftp" : ""
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
,&s,&y,0,p,xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x = cmifi(xx == XYBROWSE ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Full path of preferred browser" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Full path of preferred ftp client",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",&s,&y,xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x < 0 && x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt("DCL command to start your preferred Web browser",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"", &s, NULL)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmifi("Full path of preferred browser","",&s,&y,xxstring)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2ORUNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(app,s,CKMAXPATH);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*opts = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?A single file please\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt(xx == XYBROWSE ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"browser command-line options" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ftp client command-line options",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",&s,NULL)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(tmpbuf,s,TMPBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0) return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (line[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zfnqfp(line,CKMAXPATH,app);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(opts, tmpbuf, 128);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*app = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*opts = NUL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* BROWSER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOFRILLS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOPUSH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_CTRLZ
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYEOF: { /* SET EOF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int eofmethod; extern struct keytab eoftab[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(eoftab,3,"end-of-file detection method","",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
eofmethod = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_CTRLZ */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SESLIMIT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYLIMIT: { /* Session-Limit (length of session in seconds) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int seslimit;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int downloaded;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Maximum length of session, seconds","0",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
iksdcf
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
|| downloaded
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setnum(&seslimit,x,y,86400));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SESLIMIT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYRELY: { /* SET RELIABLE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(ooatab,3,"","automatic",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
reliable = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setreliable = (x != SET_AUTO);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"SET RELIABLE reliable","",reliable);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef STREAMING
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSTREAM: { /* SET STREAMING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int streamrq;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(ooatab,3,"","automatic",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
streamrq = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* STREAMING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKSYSLOG
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSYSL: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(syslogtab,nsyslog,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
iksdcf
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_APC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Don't let this be set remotely */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (apcactive == APC_LOCAL ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_APC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckxsyslog = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKSYSLOG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TLOG
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTLOG: { /* SET TRANSACTION-LOG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int tlogsep;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(vbtab,nvb,"","verbose",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("field separator",",",&s,NULL)) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (*s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[1]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?A single character, please.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if ((*s >= '0' && *s <= '9') ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(*s >= 'A' && *s <= 'Z') ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(*s >= 'a' && *s <= 'z')) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?A non-alphanumeric character, please.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tlogsep = *s;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver && isguest) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_APC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Don't let this be set remotely */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (apcactive == APC_LOCAL ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_APC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tlogfmt = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TLOG */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYCLEAR: { /* SET CLEARCHANNEL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(ooatab,3,"","automatic",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
clearrq = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_AUTHENTICATION
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYAUTH: { /* SET AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_KERBEROS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int kv = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct krb_op_data krb_op;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_KERBEROS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x =
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmkey(setauth,nsetauth,"authentication type","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_KERBEROS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_KRB4: kv = 4; break; /* Don't assume values are same */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_KRB5: kv = 5; break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_KERBEROS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SRP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_SRP: break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SRP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_SSL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_TLS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Authorization type not supported yet - \"%s\"\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
atmbuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
iksdcf
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_APC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Don't let this be set remotely */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (apcactive == APC_LOCAL ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
apcactive == APC_REMOTE && !(apcstatus & APC_UNCH)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_APC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch(x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_KERBEROS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_KRB4:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_KRB5: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(kv == 4 ? k4tab : k5tab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
kv == 4 ? nk4tab : nk5tab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Kerberos parameter","",xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KRB4
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBDBG:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 4) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&k4debug)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ck_krb4_debug(k4debug);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KRB4 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBLIF:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("TGT lifetime","600",10,&z,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBPRE:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 4) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&krb4_d_preauth)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBINS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("Instance name","",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBFWD:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 5) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&krb5_d_forwardable)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBPRX:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 5) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&krb5_d_proxiable)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBRNW:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("TGT renewable lifetime",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"0",10,&z,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBADR:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 5) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&krb5_checkaddrs)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&krb4_checkaddrs)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBNAD:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 5) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&krb5_d_no_addresses)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBADD:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 5) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * tmpaddrs[KRB5_NUM_OF_ADDRS];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < KRB5_NUM_OF_ADDRS; i++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmpaddrs[i] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y =
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
cmfld("List of IP addresses","",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makelist(s,tmpaddrs,KRB5_NUM_OF_ADDRS);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < KRB5_NUM_OF_ADDRS; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tmpaddrs[i] != NULL)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(tmpaddrs[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i < KRB5_NUM_OF_ADDRS && tmpaddrs[i];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inet_addr(tmpaddrs[i]) == 0xffffffff) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("invalid ip address: %s\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmpaddrs[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < KRB5_NUM_OF_ADDRS; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (tmpaddrs[i] != NULL)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(tmpaddrs[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i < KRB5_NUM_OF_ADDRS && krb5_d_addrs[i];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (krb5_d_addrs[i])
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(krb5_d_addrs[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
krb5_d_addrs[i] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i < KRB5_NUM_OF_ADDRS && tmpaddrs[i];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
krb5_d_addrs[i] = tmpaddrs[i];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tmpaddrs[i] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
krb5_d_addrs[i] = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBGET:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 5) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&krb5_autoget)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&krb4_autoget)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBDEL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(kdestab,nkdestab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Auto Destroy Tickets",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"never",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBPR:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("User ID",uidbuf,&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBRL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("Name of realm","",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBKTB:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmifi("Filename","",&s,&z,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Wildcards not allowed\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBCC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmofi("Filename","",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBSRV:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt("Name of service to use in ticket",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(kv == 4 ? "rcmd" : "host"),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&s,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBK5K4:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 5) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&krb5_d_getk4)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBPRM: /* Prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(krbprmtab,2,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt((z == KRB_PW_PRM) ?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Text of prompt;\nmay contain \"%s\" to be replaced by principal name" :
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Text of prompt",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&s,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver &&
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSDCONF
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
iksdcf
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
1
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSDCONF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) { /* Copy value to right place */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBLIF: /* Lifetime */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 4)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
krb4_d_lifetime = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
krb5_d_lifetime = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBRNW:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 5)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
krb5_d_renewable = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBPR: /* Principal */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s); /* Strip braces around. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 4)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&krb4_d_principal,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&krb5_d_principal,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBINS: /* Instance */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 4)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&krb4_d_instance,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&krb5_d_instance,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBRL: /* Realm */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 4)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&krb4_d_realm,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&krb5_d_realm,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBKTB: /* Key Table */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 4)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&k4_keytab,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&k5_keytab,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBCC: /* Credentials cache */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&krb5_d_cc,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBSRV: /* Service Name */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 4)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&krb4_d_srv,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&krb5_d_srv,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBDEL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 5)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
krb5_autodel = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
krb4_autodel = z;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYKRBPRM: /* Prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s == "") s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s == "") s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case KRB_PW_PRM: { /* Password */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Check that there are no more than */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* two % fields and % must followed by 's'. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i,n,len;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len = strlen(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0, n = 0; i < len; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[i] == '%') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[i+1] != '%') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[i+1] != 's') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Only %%s fields are permitted.\n"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > 2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Only two %%s fields are permitted.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 5)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&k5pwprompt,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&k4pwprompt,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case KRB_PR_PRM: { /* Principal */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Check to make sure there are no % fields */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i,len;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len = strlen(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < len; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[i] == '%') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[i+1] != '%') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"%% fields are not used in this command.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (kv == 5)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&k5prprompt,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&k4prprompt,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_KERBEROS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SRP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_SRP: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(srptab, nsrptab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"SRP parameter","",xxstring)) < 0) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSRPPRM: /* Prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(srpprmtab,1,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Text of prompt;\nmay contain one \"%s\" to be replaced by the username",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&s,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) { /* Copy value to right place */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSRPPRM: /* Prompt */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s == "") s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s == "") s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case SRP_PW_PRM: { /* Password */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Check %s fields */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i,n,len;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len = strlen(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0, n = 0; i < len; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[i] == '%') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[i+1] != '%') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[i+1] != 's') {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Only %%s fields are permitted.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (++n > 1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Only one %%s field is permitted.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
i++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&srppwprompt,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SRP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SSL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_SSL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_TLS: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((z = cmkey(ssltab, nssltab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(x == AUTH_SSL ? "SSL parameter" : "TLS parameter"),
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLRCFL: /* SSL/TLS RSA Certs file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLRCCF: /* SSL/TLS RSA Certs Chain file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLRKFL: /* SSL/TLS RSA Key File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLDCFL: /* SSL/TLS DSA Certs file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLDCCF: /* SSL/TLS DSA Certs Chain file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLDKFL: /* SSL/TLS DH Key File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLDPFL: /* SSL/TLS DH Param File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLCRL: /* SSL/TLS CRL File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLVRFF: /* SSL/TLS Verify File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLRND: /* SSL/TLS Random File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmifi("Filename","",&s,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != -3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Wildcards not allowed\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-9);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLRCFL: /* SSL/TLS RSA Certs file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_rsa_cert_file) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_rsa_cert_file);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_rsa_cert_file = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_rsa_cert_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!ssl_rsa_key_file)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_rsa_key_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLRCCF: /* SSL/TLS RSA Certs Chain file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_rsa_cert_chain_file) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_rsa_cert_chain_file);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_rsa_cert_chain_file = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_rsa_cert_chain_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLRKFL: /* SSL/TLS RSA Key File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_rsa_key_file) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_rsa_key_file);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_rsa_key_file = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_rsa_key_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLDCFL: /* SSL/TLS DSA Certs file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_dsa_cert_file) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_dsa_cert_file);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_dsa_cert_file = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_dsa_cert_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!ssl_dh_key_file)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_dh_key_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLDCCF: /* SSL/TLS DSA Certs Chain file */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_dsa_cert_chain_file) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_dsa_cert_chain_file);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_dsa_cert_chain_file = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_dsa_cert_chain_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLDKFL: /* SSL/TLS DH Key File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_dh_key_file) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_dh_key_file);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_dh_key_file = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_dh_key_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLDPFL: /* SSL/TLS DH Param File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_dh_param_file) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_dh_param_file);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_dh_param_file = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_dh_param_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLCRL: /* SSL/TLS CRL File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_crl_file) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_crl_file);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_crl_file = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_crl_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLVRFF: /* SSL/TLS Verify File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_verify_file) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_verify_file);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_verify_file = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_verify_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLRND: /* SSL/TLS Random File */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_rnd_file) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_rnd_file);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_rnd_file = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_rnd_file,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLCRLD:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLVRFD: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * d = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == XYSSLVRFD)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
d= getenv("SSL_CERT_DIR");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (d == NULL)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
d = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmdir("Directory",d,&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (y != -3)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,s,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = brstrip(s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch(z) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLCRLD:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_crl_dir) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_crl_dir);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_crl_dir = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_crl_dir,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLVRFD:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!s[0] && ssl_verify_dir) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free(ssl_verify_dir);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_verify_dir = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else if (s[0]) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_verify_dir,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLCOK: /* SSL/TLS Certs-Ok flag */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&ssl_certsok_flag)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLDBG: /* SSL/TLS Debug flag */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&ssl_debug_flag)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLON: /* SSL/TLS Only flag */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_SSL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&ssl_only_flag)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case AUTH_TLS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&tls_only_flag)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLVRB: /* SSL/TLS Verbose flag */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&ssl_verbose_flag)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLVRF: /* SSL/TLS Verify flag */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(sslvertab, nsslvertab,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"SSL/TLS verify mode",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"peer-cert",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_verify_flag = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLDUM:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = seton(&ssl_dummy_flag)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSLCL: { /* SSL/TLS Cipher List */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* This code is used to generate a colon delimited */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* list of the ciphers currently in use to be used */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* as the default for cmtxt(). However, a better */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* default is simply the magic keyword "ALL". */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
CHAR def[1024] = "";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssl_con != NULL) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
CHAR * p = NULL, *q = def;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, len;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; ; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = (CHAR *) SSL_get_cipher_list(ssl_con,i);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (p == NULL)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
len = strlen(p);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (q+len+1 >= def+1024)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i != 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*q++ = ':';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
strcpy(q,p);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
q += len;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char * p = getenv("SSL_CIPHER");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!p)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p = "ALL";
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmtxt(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Colon-delimited list of ciphers or ALL (case-sensitive)",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
p,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&s,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ssl_cipher_list,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssl_con == NULL) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
SSL_library_init();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_ctx = (SSL_CTX *)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
SSL_CTX_new((SSL_METHOD *)TLSv1_method());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssl_ctx != NULL)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ssl_con= (SSL *) SSL_new(ssl_ctx);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ssl_con) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
SSL_set_cipher_list(ssl_con,ssl_cipher_list);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SSL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_AUTHENTICATION */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYFUNC:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(functab,nfunctab,"","diagnostics",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case FUNC_DI: return(seton(&fndiags));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case FUNC_ER: return(seton(&fnerror));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default: return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSLEEP: /* SET SLEEP / PAUSE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(sleeptab,1,"","cancellation",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&sleepcan));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYCD: /* SET CD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(cdtab,ncdtab,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYCD_H: { /* SET CD HOME */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * myhome;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmdir("Directory name",zhome(),&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&myhome,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYCD_M: /* SET CD MESSAGE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(cdmsg,ncdmsg,"","",xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == 2) { /* CD MESSAGE FILE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt("Name of file","",&s,NULL)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!*s) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
srvcdmsg = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&cdmsgstr,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makelist(cdmsgstr,cdmsgfile,8);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0) return(y); /* CD-MESSAGE ON/OFF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
srvcdmsg |= 2;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
srvcdmsg &= 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYCD_P: { /* SET CD PATH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern char * ckcdpath;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt("CD PATH string","",&s,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
makestr(&ckcdpath,s);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOLOCAL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef STOPBITS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSTOP: /* STOP-BITS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(stoptbl,2,"Stop bits for serial device","",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x > 0 && x < 3) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
stopbits = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && istncomport()) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tnsettings(-1, x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef HWPARITY
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* HWPARITY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* HWPARITY */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* STOPBITS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYDISC: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int clsondisc;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&clsondisc));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSERIAL: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* char c; */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int cmask;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(sertbl,nsertbl,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"Serial device character size, parity, and stop bits",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"8N1", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,atmbuf,LINBUFSIZ); /* Associated keyword string */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,sernam[x],LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s = line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[0] != '8' && s[0] != '7') /* Char size */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = s[0] - '0';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (isupper(s[1])) /* Parity */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
s[1] = tolower(s[1]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (s[2] != '1' && s[2] != '2') /* Stop bits */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
stopbits = s[2] - '0';
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z == 8) { /* 8 bits + parity (or not) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
parity = 0; /* Set parity */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
hwparity = (s[1] == 'n') ? 0 : s[1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setcmask(8); /* Also set TERM BYTESIZE to 8 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* 7 bits plus parity */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
parity = (s[1] == 'n') ? 0 : s[1];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
hwparity = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setcmask(7); /* Also set TERM BYTESIZE to 7 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef TN_COMPORT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network && !istncomport())
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
tnsettings(parity, stopbits);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* TN_COMPORT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1); /* from SET SERIAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYOPTS: { /* SET OPTIONS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int setdiropts();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int settypopts();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKPURGE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int setpurgopts();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKPURGE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(optstab,noptstab,"for command","", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOFRILLS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XXDEL:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setdelopts());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOFRILLS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XXDIR:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setdiropts());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XXTYP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(settypopts());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKPURGE
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XXPURGE:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setpurgopts());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKPURGE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(-2);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOLOCAL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYQ8FLG: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int q8flag;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&q8flag));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYTIMER: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int asktimer;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
y = cmnum("Time limit for ASK command, seconds","0",10,&x,xxstring);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef QNX16
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setnum(&asktimer,x,y,32767));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setnum(&asktimer,x,y,86400));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* QNX16 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYFACKB: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int fackbug;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&fackbug));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYHINTS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&hints));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYEVAL: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int oldeval;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(oldnew,2,"","", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
oldeval = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYFACKP: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int fackpath;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&fackpath));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYQNXPL: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int qnxportlock;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(seton(&qnxportlock));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOCMDL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYIKS: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int setiks();
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setiks());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOCMDL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKROOT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYROOT:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dochroot());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKROOT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSPL
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSEXP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSEXP: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(sexptab,2,"","", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
switch (x) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 0:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(ooatab,3,"","automatic", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sexpecho = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case 1: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, xx;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
xx = sexpmaxdep;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmnum("Maximum recursion depth",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"1000",10,&x,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = setnum(&sexpmaxdep,x,y,-1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sxresult) { /* Free old stack if allocated */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < xx; i++)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sxresult[i]) free(sxresult[i]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
free((char *)sxresult);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (sxrlen) free((char *)sxrlen);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sxresult = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
sxrlen = NULL;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
break;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSEXPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSPL */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef NEWFTP
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYGPR: {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern struct keytab gprtab[];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int ftpget;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(gprtab,3,"","kermit", xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ftpget = x;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NEWFTP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef ANYSSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSSH:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dosetssh());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* ANYSHH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef SFTP_BUILTIN
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYSFTP:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(dosetsftp());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* SFTP_BUILTIN */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef LOCUS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYLOCUS:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmkey(locustab,nlocustab,"",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"ask"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"auto"
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((y = cmcfm()) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(y);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == 2 || x == 3) { /* AUTO or ASK */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setautolocus(x - 1); /* Two forms of automatic locusing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* setlocus(1,0); */ /* we're not changing the locus here */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* LOCAL or REMOTE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setautolocus(0); /* No automatic Locus changing */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
setlocus(x,0); /* Set Locus as requested */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* LOCUS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef KUI
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
case XYGUI:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(setgui());
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* KUI */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
default:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmcfm()) < 0) return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Not implemented - %s\n",cmdbuf);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
H U P O K -- Is Hangup OK?
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Issues a warning and gets OK from user depending on whether a connection
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
seems to be open and what the SET EXIT WARNING setting is. Returns:
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0 if not OK to hang up or exit (i.e. user said No);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
nonzero if OK.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Argument x is used to differentiate the EXIT command from SET LINE / HOST.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
hupok(x) int x; { /* Returns 1 if OK, 0 if not OK */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int y, z = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int exithangup;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef VMS
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
extern int batch;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (batch) /* No warnings in batch */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef UNIX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (backgrd) /* No warnings in background */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNIX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* VMS */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef K95G
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"hupok local","",local);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!local) /* No warnings in remote mode */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* K95G */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (x == 0 && exithangup == 0) /* EXIT and EXIT HANGUP is OFF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(1);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"hupok x","",x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"hupok xitwarn","",xitwarn);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"hupok network","",network);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"hupok haveline","",haveline);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((local && xitwarn) || /* Is a connection open? */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
(!x && xitwarn == 2)) { /* Or Always give warning on EXIT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int needwarn = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char warning[256];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (network) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (ttchk() >= 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
needwarn = 1;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* A connection seems to be open but it can't possibly be */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!haveline)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
needwarn = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (needwarn) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (strcmp(ttname,"*"))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(warning,256,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" A network connection to ",ttname,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" might still be active.\n",NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(warning,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" An incoming network connection might still be active.\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
256);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
} else { /* Serial connection */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (carrier == CAR_OFF) /* SET CARRIER OFF */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
needwarn = 0; /* so we don't care about carrier. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else if ((y = ttgmdm()) >= 0) /* else, get modem signals */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
needwarn = (y & BM_DCD); /* Check for carrier */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else /* If we can't get modem signals... */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
needwarn = (ttchk() >= 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* A connection seems to be open but it can't possibly be */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (!haveline || !exithangup)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
needwarn = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (needwarn)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckmakmsg(warning,256,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
" A serial connection might still be active on ",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ttname,".\n",NULL);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* If a warning was issued, get user's permission to EXIT. */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (needwarn || (!x && xitwarn == 2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef K95G
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
&& local
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* K95G */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
)) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ( !needwarn )
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(warning, "No active connections", 256);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef COMMENT
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("%s",warning);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = getyesno(x ? "OK to close? " : "OK to exit? ",0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"hupok getyesno","",z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z < -3) z = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
z = uq_ok(warning,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
x ? "OK to close? " : "OK to exit? ",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
3,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
NULL,
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
0
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
debug(F101,"hupok uq_ok","",z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (z < 0) z = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* COMMENT */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(z);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOSHOW
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shoctl() { /* SHOW CONTROL-PREFIXING */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_SPEED
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int zero;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
"\ncontrol quote = %d, applied to (0 = unprefixed, 1 = prefixed):\n\n",
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
myctlq);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef UNPREFIXZERO
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
zero = ctlp[0];
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (protocol == PROTO_K) /* Zero can't be unprefixed */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ctlp[0] = 1; /* for Kermit */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNPREFIXZERO */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < 16; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %3d: %d %3d: %d ",i,ctlp[i], i+16, ctlp[i+16]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i == 15)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" 127: %d",ctlp[127]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
else
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" ");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %3d: %d %3d: %d ",i+128,ctlp[i+128], i+144, ctlp[i+144]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (i == 15) printf(" 255: %d",ctlp[255]);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef UNPREFIXZERO
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ctlp[0] = zero;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* UNPREFIXZERO */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_SPEED */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOXFER
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
shodbl() { /* SHOW DOUBLE/IGNORE */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CKXXCHAR
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int i, n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\nSET SEND DOUBLE characters:\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < 255; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dblt[i] & 2) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %d", i);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n == 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" (none)");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n = 0;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\nSET RECEIVE IGNORE characters:\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
for (i = 0; i < 255; i++) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (dblt[i] & 1) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
n++;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" %d", i);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (n == 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf(" (none)");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("\n\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CKXXCHAR */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOXFER */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOSHOW */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifndef NOPUSH
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_REXX
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/*
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
Rexx command. Note, this is not OS/2-specific, because Rexx also runs
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
on other systems where C-Kermit also runs, like the Amiga.
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
*/
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#define REXBUFL 100 /* Change this if neccessary */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char rexxbuf[REXBUFL] = { '\0' }; /* Rexx's return value (string) */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dorexx() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
int x, y;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
char *rexxcmd;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if ((x = cmtxt("Rexx command","",&rexxcmd,xxstring)) < 0)
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(x);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef IKSD
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (inserver) {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("?Sorry, command disabled.\r\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* IKSD */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef CK_APC
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Don't let this be set remotely */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
if (apcactive == APC_LOCAL ||
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
apcactive == APC_REMOTE && !(apcstatus & APC_UNCH))
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_APC */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
 
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
ckstrncpy(line,rexxcmd,LINBUFSIZ);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
rexxcmd = line;
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#ifdef OS2
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(os2rexx(rexxcmd,rexxbuf,REXBUFL));
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* !OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
printf("Sorry, nothing happens.\n");
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
return(success = 0);
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* OS2 */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* CK_REXX */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOPUSH */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#else /* NOICP */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
VOID
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
dologend() {
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
/* Dummy write record to connection log */
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
}
Too many #ifdef configurations - cppcheck only checks 12 of 570 configurations. Use --force to check all configurations.
#endif /* NOICP */