Lines Matching refs:cursor
57 char *cursor;
111 free(m->cursor);
199 assert(m->cursor);
201 r = sd_journal_test_cursor(m->journal, m->cursor);
203 log_error_errno(r, "Failed to test cursor: %m");
308 m->cursor = strdup(range);
337 m->cursor = strndup(range, colon - range);
340 if (!m->cursor)
343 m->cursor[strcspn(m->cursor, WHITESPACE)] = 0;
344 if (isempty(m->cursor))
345 m->cursor = mfree(m->cursor);
484 if (!m->cursor)
485 return mhd_respond(connection, MHD_HTTP_BAD_REQUEST, "Discrete seeks require a cursor specification.\n");
491 if (m->cursor)
492 r = sd_journal_seek_cursor(m->journal, m->cursor);