| 749 | } |
| 750 | |
| 751 | AP_DECLARE(char *) ap_getword_white(apr_pool_t *atrans, const char **line) |
| 752 | { |
| 753 | const char *pos = *line; |
| 754 | int len; |
| 755 | char *res; |
| 756 | |
| 757 | while (!apr_isspace(*pos) && *pos) { |
| 758 | ++pos; |
| 759 | } |
| 760 | |
| 761 | len = pos - *line; |
| 762 | res = apr_pstrmemdup(atrans, *line, len); |
| 763 | |
| 764 | while (apr_isspace(*pos)) { |
| 765 | ++pos; |
| 766 | } |
| 767 | |
| 768 | *line = pos; |
| 769 | |
| 770 | return res; |
| 771 | } |
| 772 | |
| 773 | AP_DECLARE(char *) ap_getword_nulls_nc(apr_pool_t *atrans, char **line, |
| 774 | char stop) |
no outgoing calls
no test coverage detected