rot-13.h (761B)
1 /********************************************************************* 2 * Filename: rot-13.h 3 * Author: Brad Conte (brad AT bradconte.com) 4 * Copyright: 5 * Disclaimer: This code is presented "as is" without any guarantees. 6 * Details: Defines the API for the corresponding ROT-13 implementation. 7 *********************************************************************/ 8 9 #ifndef ROT13_H 10 #define ROT13_H 11 12 /*************************** HEADER FILES ***************************/ 13 #include <stddef.h> 14 15 /*********************** FUNCTION DECLARATIONS **********************/ 16 // Performs IN PLACE rotation of the input. Assumes input is NULL terminated. 17 // Preserves each charcter's case. Ignores non alphabetic characters. 18 void rot13(char str[]); 19 20 #endif // ROT13_H