summaryrefslogtreecommitdiff
path: root/src/app/main.c
blob: ab8688f9a39a46aa8f52aca467cbee67aae2deda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

#include "mcp/server.h"

int
main(void)
{
  const int result = tiny_convmem_server_run(stdin, stdout);
  if (result != 0)
    {
      fprintf(stderr, "tiny-convmem-mcp stopped with error code %d\n", result);
    }
  return result;
}