1#ifndef TRAILER_H 2#define TRAILER_H 3 4struct trailer_info { 5/* 6 * True if there is a blank line before the location pointed to by 7 * trailer_start. 8 */ 9int blank_line_before_trailer; 10 11/* 12 * Pointers to the start and end of the trailer block found. If there 13 * is no trailer block found, these 2 pointers point to the end of the 14 * input string. 15 */ 16const char*trailer_start, *trailer_end; 17 18/* 19 * Array of trailers found. 20 */ 21char**trailers; 22size_t trailer_nr; 23}; 24 25voidprocess_trailers(const char*file,int in_place,int trim_empty, 26struct string_list *trailers); 27 28voidtrailer_info_get(struct trailer_info *info,const char*str); 29 30voidtrailer_info_release(struct trailer_info *info); 31 32#endif/* TRAILER_H */