mirror of
				https://github.com/stefanocasazza/ULib.git
				synced 2025-10-26 19:57:22 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			766 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			766 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* ============================================================================
 | |
| //
 | |
| // = LIBRARY
 | |
| //    ULib - c library
 | |
| //
 | |
| // = FILENAME
 | |
| //    quoted_printable.h
 | |
| //
 | |
| // = AUTHOR
 | |
| //    Stefano Casazza
 | |
| //
 | |
| // ============================================================================ */
 | |
| 
 | |
| #ifndef ULIB_CODER_QUOTED_PRINTABLE_H
 | |
| #define ULIB_CODER_QUOTED_PRINTABLE_H 1
 | |
| 
 | |
| #include <ulib/base/base.h>
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| extern "C" {
 | |
| #endif
 | |
| 
 | |
| /* Encode-Decode quoted_printable into a buffer */
 | |
| 
 | |
| U_EXPORT uint32_t u_quoted_printable_encode(const unsigned char* restrict s, uint32_t n, unsigned char* restrict result);
 | |
| U_EXPORT uint32_t u_quoted_printable_decode(const          char* restrict s, uint32_t n, unsigned char* restrict result);
 | |
| 
 | |
| #ifdef __cplusplus
 | |
| }
 | |
| #endif
 | |
| 
 | |
| #endif
 | 
