| 1 |
/* |
| 2 |
* Copyright(C) 1999-2020, 2022 National Technology & Engineering Solutions |
| 3 |
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with |
| 4 |
* NTESS, the U.S. Government retains certain rights in this software. |
| 5 |
* |
| 6 |
* See packages/seacas/LICENSE for details |
| 7 |
*/ |
| 8 |
#pragma once |
| 9 |
/* Function prototypes */ |
| 10 |
extern int token_compare(char *token, /* The input character string */ |
| 11 |
const char *key /* The key to compare with token */ |
| 12 |
); |
| 13 |
|
| 14 |
extern void strip_string(char inp_str[], /* The string to strip */ |
| 15 |
const char *tokens /* The tokens to strip from the beginning and |
| 16 |
* end of the input string */ |
| 17 |
); |
| 18 |
|
| 19 |
extern void clean_string(char inp_str[], /* The string to clean */ |
| 20 |
const char *tokens /* The tokens to strip multiple copies of */ |
| 21 |
); |
| 22 |
|
| 23 |
extern void string_to_lower(char inp_str[], /* The string to convert to lower case */ |
| 24 |
char cstop /* Character where to stop */ |
| 25 |
); |