1#ifndef NOTES_H 2#define NOTES_H 3 4/* Free (and de-initialize) the internal notes tree structure */ 5voidfree_notes(void); 6 7/* Flags controlling how notes are formatted */ 8#define NOTES_SHOW_HEADER 1 9#define NOTES_INDENT 2 10 11/* 12 * Fill the given strbuf with the notes associated with the given object. 13 * 14 * If the internal notes structure is not initialized, it will be auto- 15 * initialized to the default value (see documentation for init_notes() above). 16 * 17 * 'flags' is a bitwise combination of the above formatting flags. 18 */ 19voidformat_note(const unsigned char*object_sha1,struct strbuf *sb, 20const char*output_encoding,int flags); 21 22#endif