args.h 966 B

123456789101112131415161718192021222324252627
  1. /*
  2. * Copyright (C) 2006 Andreas Steffen
  3. * HSR Hochschule fuer Technik Rapperswil
  4. *
  5. * This program is free software; you can redistribute it and/or modify it
  6. * under the terms of the GNU General Public License as published by the
  7. * Free Software Foundation; either version 2 of the License, or (at your
  8. * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
  9. *
  10. * This program is distributed in the hope that it will be useful, but
  11. * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
  12. * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  13. * for more details.
  14. */
  15. #ifndef _ARGS_H_
  16. #define _ARGS_H_
  17. #include "keywords.h"
  18. bool assign_arg(kw_token_t token, kw_token_t first, char *key, char *value,
  19. void *base, bool *assigned);
  20. void free_args(kw_token_t first, kw_token_t last, void *base);
  21. bool cmp_args(kw_token_t first, kw_token_t last, void *base1, void *base2);
  22. #endif /* _ARGS_H_ */