config_entry
config_entry_list_t *config_entry;
if ((config_entry = find_warning_info(argp->warning_name)) == NULL) {
- config_entry->seconds_to_warn;
- config_entry->seconds_to_warn;
config_entry_list_t *config_entry;
config_entry = (config_entry_list_t *)
if (config_entry == NULL)
(void) memset(config_entry, 0, sizeof (*config_entry_list));
config_entry->principal = strdup(principal);
if (config_entry->principal == NULL)
config_entry->where_to = strdup(send_to);
if (config_entry->where_to == NULL)
config_entry->seconds_to_warn = etime;
config_entry->seconds_to_warn = etime * 60;
config_entry->seconds_to_warn = etime * 60 * 60;
config_entry->email = strdup(emailid);
if (config_entry->email == NULL)
config_entry->renew = renew;
config_entry->log_success = log_success;
config_entry->log_failure = log_failure;
config_entry->next = config_entry_list;
config_entry_list = config_entry;
config_entry_list_t *config_entry;
for (config_entry = config_entry_list; config_entry;
config_entry = config_entry->next) {
if (strcmp(config_entry->principal, principal) == 0) {
return (config_entry);
for (config_entry = config_entry_list; config_entry;
config_entry = config_entry->next) {
if (strcmp(config_entry->principal, "*") == 0) {
return (config_entry);
struct config_entry *ce_next;