comparison src/libpst.c @ 271:eafaf362779e

fixup doxygen errors
author Carl Byington <carl@five-ten-sg.com>
date Thu, 21 Apr 2011 10:16:29 -0700
parents 5ca87faa020b
children 86078d0c2e9c
comparison
equal deleted inserted replaced
270:6c73cd336d5d 271:eafaf362779e
4367 } 4367 }
4368 4368
4369 4369
4370 /** Get the default character set for this item. This is used to find 4370 /** Get the default character set for this item. This is used to find
4371 * the charset for pst_string elements that are not already in utf8 encoding. 4371 * the charset for pst_string elements that are not already in utf8 encoding.
4372 *
4372 * @param item pointer to the mapi item of interest 4373 * @param item pointer to the mapi item of interest
4373 * @param[in] buflen length of the output buffer 4374 * @param[in] buflen length of the output buffer
4374 * @param[out] result pointer to output buffer, must be at least 30 bytes 4375 * @param[out] result pointer to output buffer, must be at least 30 bytes
4375 * @return default character set as a string useable by iconv() 4376 * @return default character set as a string useable by iconv()
4376 */ 4377 */
4382 } 4383 }
4383 4384
4384 4385
4385 /** Convert str to rfc2231 encoding of str 4386 /** Convert str to rfc2231 encoding of str
4386 * 4387 *
4387 * @param item pointer to the containing mapi item
4388 * @param str pointer to the mapi string of interest 4388 * @param str pointer to the mapi string of interest
4389 */ 4389 */
4390 void pst_rfc2231(pst_string *str) { 4390 void pst_rfc2231(pst_string *str) {
4391 int needs = 0; 4391 int needs = 0;
4392 const int8_t *x = (int8_t *)str->str; 4392 const int8_t *x = (int8_t *)str->str;
4419 } 4419 }
4420 4420
4421 4421
4422 /** Convert str to rfc2047 encoding of str, possibly enclosed in quotes if it contains spaces 4422 /** Convert str to rfc2047 encoding of str, possibly enclosed in quotes if it contains spaces
4423 * 4423 *
4424 * @param item pointer to the containing mapi item 4424 * @param item pointer to the containing mapi item
4425 * @param str pointer to the mapi string of interest 4425 * @param str pointer to the mapi string of interest
4426 * @param needs_quote true if strings containing spaces should be wrapped in quotes
4426 */ 4427 */
4427 void pst_rfc2047(pst_item *item, pst_string *str, int needs_quote) { 4428 void pst_rfc2047(pst_item *item, pst_string *str, int needs_quote) {
4428 int has_space = 0; 4429 int has_space = 0;
4429 int needs_coding = 0; 4430 int needs_coding = 0;
4430 pst_convert_utf8(item, str); 4431 pst_convert_utf8(item, str);