util/yaz-illclient.c
void validateargs( struct prog_args *args) {
    if (!args->host) {
        fprintf(stderr, "Specify a connection address, "
                        "as in 'z3950.indexdata.com:210' \n");
        exit(1);
    }
    if (args->oclc_auth && ((!args->auth_userid) || (!args->auth_passwd))){
        fprintf(stderr, "-o option requires -u <user> and -p <pwd>\n");
        exit(1);
    }
}
/* * * * * * * * * * * */
/** \brief  Validate the arguments make sense */
\brief  Validate the arguments make sense
\ brief Validate the arguments make sense
void validateargs( struct prog_args *args) {
    if (!args->host) {
        fprintf(stderr, "Specify a connection address, "
                        "as in 'z3950.indexdata.com:210' \n");
        exit(1);
    }
    if (args->oclc_auth && ((!args->auth_userid) || (!args->auth_passwd))){
        fprintf(stderr, "-o option requires -u <user> and -p <pwd>\n");
        exit(1);
    }
}
void validateargs ( struct prog_args * args ) { if ( ! args -> host ) { fprintf ( stderr , " " " \n " ) ; exit ( 1 ) ; } if ( args -> oclc_auth && ( ( ! args -> auth_userid ) || ( ! args -> auth_passwd ) ) ) { fprintf ( stderr , " \n " ) ; exit ( 1 ) ; } }
* * * * * * * * 
\brief  Validate the arguments make sense
* * * * * * * * \ brief Validate the arguments make sense