Hash :
d489e481
Author :
Thomas de Grivel
Date :
2022-11-03T11:41:52
licence
/* rtbuf
* Copyright 2018-2022 kmx.io <contact@kmx.io>
*
* Permission is hereby granted to use this software granted
* the above copyright notice and this permission paragraph
* are included in all copies and substantial portions of this
* software.
*
* THIS SOFTWARE IS PROVIDED "AS-IS" WITHOUT ANY GUARANTEE OF
* PURPOSE AND PERFORMANCE. IN NO EVENT WHATSOEVER SHALL THE
* AUTHOR BE CONSIDERED LIABLE FOR THE USE AND PERFORMANCE OF
* THIS SOFTWARE.
*/
#include <assert.h>
#include "../librtbuf/rtbuf.h"
#include "rtbuf_cli.h"
int main (int argc, char *argv[])
{
int res = 0;
symbols_init();
librtbuf_init();
assert(g_rtbuf);
repl_init();
rtbuf_cli_args(argc, argv);
res = repl();
rtbuf_cli_stop();
librtbuf_shutdown();
return res;
}