Lines Matching +defs:error +defs:message
84 make_alert_dict(char * title, char * message)
114 /* message */
115 if (message) {
116 str = CFStringCreateWithCString(NULL, message, kCFStringEncodingUTF8);
125 CFSTR("<default message>"));
135 Alert_update(Alert * alert_p, char * title, char * message)
138 SInt32 error;
140 dict = make_alert_dict(title, message);
145 error = CFUserNotificationUpdate(alert_p->notif, 0, 0, dict);
147 if (error != 0) {
148 EAPLOG_FL(LOG_NOTICE, "CFUserNotificationUpdate failed, %d", error);
159 void * arg1, void * arg2, char * title, char * message)
164 SInt32 error = 0;
173 dict = make_alert_dict(title, message);
178 alert = CFUserNotificationCreate(NULL, 0, 0, &error, dict);
180 EAPLOG_FL(LOG_NOTICE, "CFUserNotificationCreate failed, %d", error);