Functions | |
void | do_edit_vcard (long msgnum, char *partnum, char *return_to) |
Edit the vCard component of a MIME message. Supply the message number and MIME part number to fetch. Or, specify -1 for the message number to start with a blank card. | |
void | edit_vcard (void) |
commit the edits to the citadel server | |
void | submit_vcard (void) |
parse edited vcard from the browser |
void do_edit_vcard | ( | long | msgnum, | |
char * | partnum, | |||
char * | return_to | |||
) |
Edit the vCard component of a MIME message. Supply the message number and MIME part number to fetch. Or, specify -1 for the message number to start with a blank card.
msgnum | number of the item on the citadel server | |
partnum | what??? | |
return_to | where to go back in the browser after edit ???? |
Display the form
Definition at line 21 of file vcard_edit.c.
References convenience_page(), escputs(), extract_token(), output_headers(), safestrncpy(), serv_getln(), serv_puts(), serv_read(), urlescputs(), vcard_free(), vcard_get_prop(), vcard_load(), wDumpContent(), and wprintf().
Referenced by display_edit_address_book_entry(), display_enter(), display_reg(), and edit_vcard().
void submit_vcard | ( | void | ) |
parse edited vcard from the browser
Make a vCard structure out of the data supplied in the form
Start with the extra fields
Definition at line 359 of file vcard_edit.c.
References bstr(), do_welcome(), edit_vcard(), extract_token(), num_tokens(), readloop(), safestrncpy(), select_user_to_edit(), serv_getln(), serv_printf(), serv_puts(), snprintf(), vcard_add_prop(), vcard_free(), vcard_load(), and vcard_serialize().
Referenced by session_loop().