Index

lognestmonster / 19782d4

A general-purpose single-header C logging library and parser for event-based logs. (Incomplete)

Latest Commit

{#}TimeHashSubjectAuthor#(+)(-)GPG?
15329 Nov 2019 19:38b6b260eAdd header protection for one-time definitionsJosh Stockin1300N

Blob @ lognestmonster / tests / main_test.c

text/plain1048 bytesdownload raw
1// lognestmonster Copyright (c) 2019 Joshua 'joshuas3' Stockin
2// main_test.c
3// Second part of a two-piece lognestmonster test source
4
5// <https://github.com/JoshuaS3/lognestmonster/>.
6
7
8// This file is part of lognestmonster.
9
10// lognestmonster is free software: you can redistribute it and/or modify
11// it under the terms of the GNU General Public License as published by
12// the Free Software Foundation, either version 3 of the License, or
13// (at your option) any later version.
14
15// lognestmonster is distributed in the hope that it will be useful,
16// but WITHOUT ANY WARRANTY; without even the implied warranty of
17// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18// GNU General Public License for more details.
19
20// You should have received a copy of the GNU General Public License
21// along with lognestmonster. If not, see <https://www.gnu.org/licenses/>.
22
23#include <stdio.h>
24#include "lognestmonster.h"
25
26char * queueName;
27void test(void) {
28 printf("retrieving %s from global queue\n", queueName);
29 lnmQueueByName(queueName);
30}
31