#ifndef _REVERSE_H_ #define _REVERSE_H_ // This function allocates memory for a string of the same // length as in, and then copies in to that allocated memory, // but reverses the characters. The new string is returned // through output parameter out. Returns 0 on failure, 1 // on success. int ReverseString(char *in, char **out); #endif // _REVERSE_H_