X-Git-Url: http://the.earth.li/gitweb/?a=blobdiff_plain;f=armor.h;h=bb660a17ed1453d7c1cfe86d106926d3eca9574d;hb=743957a08f068529d3add3e8485678b4e5034195;hp=663e11183b1e1f11d8cff4f2e02946fe963c6f96;hpb=5e1b22d763640c4d7a09d07920403d8d491b4410;p=onak.git diff --git a/armor.h b/armor.h index 663e111..bb660a1 100644 --- a/armor.h +++ b/armor.h @@ -1,5 +1,6 @@ -/* - * armor.h - Routines to (de)armor OpenPGP packet streams. +/** + * @file armor.h + * @brief Routines to (de)armor OpenPGP packet streams. * * Copyright 2002-2004, 2011 Jonathan McDowell * @@ -13,8 +14,7 @@ * more details. * * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 51 - * Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * this program. If not, see . */ #ifndef __ARMOR_H__ @@ -23,13 +23,13 @@ #include "keystructs.h" /** - * armor_openpgp_stream - Takes a list of OpenPGP packets and armors it. - * @putchar_func: The function to output the next armor character. - * @ctx: The context pointer for putchar_func. - * @packets: The list of packets to output. + * @brief Takes a list of OpenPGP packets and armors it. + * @param putchar_func The function to output the next armor character. + * @param ctx The context pointer for putchar_func. + * @param packets The list of packets to output. * - * This function ASCII armors a list of OpenPGP packets and outputs it - * using putchar_func. + * This function ASCII armors a list of OpenPGP packets and outputs it + * using putchar_func. */ int armor_openpgp_stream(int (*putchar_func)(void *ctx, size_t count, void *c), @@ -37,14 +37,14 @@ int armor_openpgp_stream(int (*putchar_func)(void *ctx, size_t count, struct openpgp_packet_list *packets); /** - * dearmor_openpgp_stream - Reads & decodes an ACSII armored OpenPGP msg. - * @getchar_func: The function to get the next character from the stream. - * @ctx: The context pointer for getchar_func. - * @packets: The list of packets. + * @brief Reads & decodes an ACSII armored OpenPGP msg. + * @param getchar_func The function to get the next character from the stream. + * @param ctx The context pointer for getchar_func. + * @param packets The list of packets. * - * This function uses getchar_func to read characters from an ASCII - * armored OpenPGP stream and outputs the data as a linked list of - * packets. + * This function uses getchar_func to read characters from an ASCII + * armored OpenPGP stream and outputs the data as a linked list of + * packets. */ int dearmor_openpgp_stream(int (*getchar_func)(void *ctx, size_t count, void *c),