Lines Matching defs:comments

463 	char *comments = NULL;
503 * Pull the comments out of the tl_data array
505 ret = extract_comments(&pr_rec, &comments);
514 ret = kadmin_to_Principal(&pr_rec, env, prin, cname, comments);
540 char *comments = NULL;
551 &pw, &comments, &params);
568 * Handle any comments with read-modify-write
570 ret = edit_comments(&pr_rec, kprin, comments);
607 char *comments = NULL;
618 &pw, &comments, &params);
641 * Handle any comments with read-modify-write
643 ret = edit_comments(&pr_rec, kprin, comments);
912 kadm5_principal_ent_rec *p, long *mask, char **pw, char **comments,
1062 * we will only deal with comments if they are newly changed.
1081 *comments = strdup(str);
1082 if (!*comments)
1155 const char *prname, char *comments)
1376 cstr = strdup(comments ? comments : "");
1645 * to get the comments into the TL_DATA array.
1648 edit_comments(kadm5_principal_ent_rec *p, krb5_principal kprin, char *comments)
1653 if (!comments || !strlen(comments))
1661 ret = format_comments(p, &mask, comments);
1675 * Put the comments into TL_DATA.
1678 format_comments(kadm5_principal_ent_rec *p, long *mask, char *comments)
1683 if (!comments || !strlen(comments))
1688 s = strdup(comments);
1693 * Search for existing comments field, or find next-to-last
1699 t->tl_data_length = strlen(comments);
1705 tdp->tl_data_length = strlen(comments)+1;
1718 * The principal has been loaded, so we pluck the comments out of TL_DATA.
1721 extract_comments(kadm5_principal_ent_rec *p, char **comments)
1727 * Search for existing comments field, or find next-to-last
1739 *comments = s;