| 1267 | } |
| 1268 | |
| 1269 | int is_valid_int(const char *str) |
| 1270 | { |
| 1271 | while (*str) { |
| 1272 | if (!isdigit(*str)) |
| 1273 | return 0; |
| 1274 | else |
| 1275 | ++str; |
| 1276 | } |
| 1277 | return 1; |
| 1278 | } |
| 1279 | |
| 1280 | static ssl_mode ssl_string_to_mode(const char *s, int *nid_dbname) |
| 1281 | { |