local_proto.h 498 B

123456789101112131415161718192021222324
  1. #ifndef V_EXTERNAL_LOCAL_PROTO_H
  2. #define V_EXTERNAL_LOCAL_PROTO_H
  3. struct _options {
  4. struct Option *dsn, *output, *layer;
  5. };
  6. struct _flags {
  7. struct Flag *format, *layer, *topo;
  8. };
  9. /* args.c */
  10. void parse_args(int, char **,
  11. struct _options *, struct _flags*);
  12. void get_args(const struct _options *, const struct _flags *,
  13. char **, char **, char **,
  14. int *, int *, int *);
  15. /* list.c */
  16. void list_formats(FILE *);
  17. int list_layers(FILE *, const char *, const char *);
  18. #endif