typedef enum clean_type { CL_BOTH, CL_BEGIN, CL_END } clean_type; int clean_spaces( char *buffer, clean_type ct );