/***************************************************************************
 *   copyright           : (C) 2003 by Hendrik Sattler                     *
 *   mail                : post@hendrik-sattler.de                         *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef SCMXX_OPT_H
#define SCMXX_OPT_H

#include <options.h>
#include <versit.h>

extern struct args_def_type args_type_list[];
extern struct args_def args_list[];

struct args_t {
  char* system_charset;
  enum encoding_value encoding;
  char* charset;
  enum vcard_version vcard_version;

  unsigned int help :1;
  unsigned int version :1;
};

/* a function to init the variables in the struct
 */
void args_init ();
char** adr2vcf_args_parse (int argc, char** argv);
struct args_t* adr2vcf_get_args ();

#endif
