Changeset 411
- Timestamp:
- 04/27/06 16:51:58
- Files:
-
- openpgpsdk/trunk/src/armour.c (modified) (12 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openpgpsdk/trunk/src/armour.c
r388 r411 1 /** \file 2 * \brief Code for dealing with ASCII-armoured packets 3 */ 4 1 5 #include <openpgpsdk/configure.h> 2 6 #include <openpgpsdk/armour.h> … … 15 19 #define CRC24_POLY 0x1864cfbL 16 20 21 /** 22 * \struct 23 */ 17 24 typedef struct 18 25 { … … 164 171 } 165 172 173 /** 174 * \param ops_headers_t 175 * \param key 176 * 177 * \return header value if found, otherwise NULL 178 */ 166 179 const char *ops_find_header(ops_headers_t *headers,const char *key) 167 180 { … … 174 187 } 175 188 189 /** 190 * \param dest 191 * \param src 192 */ 176 193 void ops_dup_headers(ops_headers_t *dest,const ops_headers_t *src) 177 194 { … … 736 753 } 737 754 755 /** 756 * \param parse_info 757 * \param without_gap 758 * \param no_gap 759 * \param trailing_whitespace 760 */ 738 761 void ops_reader_push_dearmour(ops_parse_info_t *parse_info, 739 762 ops_boolean_t without_gap, … … 752 775 } 753 776 777 /** 778 * \param parse_info 779 */ 754 780 void ops_reader_pop_dearmour(ops_parse_info_t *parse_info) 755 781 { … … 759 785 } 760 786 787 /** 788 * \struct 789 */ 761 790 typedef struct 762 791 { … … 821 850 } 822 851 852 /** 853 * \param winfo 854 */ 823 855 void dash_escaped_destroyer(ops_writer_info_t *winfo) 824 856 { … … 830 862 831 863 // XXX: should return errors. 864 /** 865 * \param info 866 * \param sig 867 * \todo should return errors 868 */ 832 869 void ops_writer_push_dash_escaped(ops_create_info_t *info, 833 870 ops_create_signature_t *sig) … … 846 883 } 847 884 885 /** 886 * \struct 887 */ 848 888 typedef struct 849 889 { … … 936 976 return ops_stacked_write(trailer,sizeof trailer-1,errors,winfo); 937 977 } 978 979 /** 980 * \struct 981 */ 938 982 typedef struct 939 983 { … … 970 1014 971 1015 // XXX: should return errors. 1016 /** 1017 * \param info 1018 */ 972 1019 void ops_writer_switch_to_signature(ops_create_info_t *info) 973 1020 {
