src/string.h
branchgamebalance
changeset 9895 7bd07f43b0e3
parent 6541 ff575414f0d2
child 6719 4cc327ad39d5
equal deleted inserted replaced
9894:70d78ac95d6c 9895:7bd07f43b0e3
    35 void str_strip_colours(char *str);
    35 void str_strip_colours(char *str);
    36 
    36 
    37 /**
    37 /**
    38  * Valid filter types for IsValidChar.
    38  * Valid filter types for IsValidChar.
    39  */
    39  */
    40 typedef enum CharSetFilter {
    40 enum CharSetFilter {
    41 	CS_ALPHANUMERAL,      //! Both numeric and alphabetic and spaces and stuff
    41 	CS_ALPHANUMERAL,      //! Both numeric and alphabetic and spaces and stuff
    42 	CS_NUMERAL,           //! Only numeric ones
    42 	CS_NUMERAL,           //! Only numeric ones
    43 	CS_ALPHA,             //! Only alphabetic values
    43 	CS_ALPHA,             //! Only alphabetic values
    44 } CharSetFilter;
    44 };
    45 
    45 
    46 /** Convert the given string to lowercase, only works with ASCII! */
    46 /** Convert the given string to lowercase, only works with ASCII! */
    47 void strtolower(char *str);
    47 void strtolower(char *str);
    48 
    48 
    49 
    49