Lines Matching defs:eventmsgfile
135 char eventmsgfile[MAXPATHLEN];
140 (void) snprintf(eventmsgfile, sizeof (eventmsgfile), "%s.%d",
151 (NWAM_REQUEST_TYPE_EVENT_REGISTER, eventmsgfile)) != NWAM_SUCCESS) {
156 if ((key = ftok(eventmsgfile, 0)) == -1) {
180 char eventmsgfile[MAXPATHLEN];
182 (void) snprintf(eventmsgfile, sizeof (eventmsgfile), "%s.%d",
188 (NWAM_REQUEST_TYPE_EVENT_UNREGISTER, eventmsgfile);
200 nwam_event_queue_init(const char *eventmsgfile)
205 if ((fd = open(eventmsgfile, O_RDWR | O_CREAT | O_TRUNC, 0644)) == -1)
209 if ((key = ftok(eventmsgfile, 0)) == -1)
230 char eventmsgfile[MAXPATHLEN];
246 (void) snprintf(eventmsgfile, sizeof (eventmsgfile), "%s/%s",
249 if ((key = ftok(eventmsgfile, 0)) == -1) {
282 nwam_event_queue_fini(eventmsgfile);
295 eventmsgfile);
296 nwam_event_queue_fini(eventmsgfile);
312 nwam_event_queue_fini(const char *eventmsgfile)
317 if ((key = ftok(eventmsgfile, 0)) != -1 &&
320 (void) unlink(eventmsgfile);
332 char eventmsgfile[MAXPATHLEN];
350 (void) snprintf(eventmsgfile, sizeof (eventmsgfile), "%s/%s",
353 nwam_event_queue_fini(eventmsgfile);