first run of context

This commit is contained in:
Ellen Arvidsson 2025-04-11 23:43:51 +02:00
parent 80ee17692a
commit fb95e5d026
2 changed files with 13 additions and 4 deletions

View file

@ -1,10 +1,7 @@
#ifndef _SPHO_SPHO_H
#define _SPHO_SPHO_H
#include <sys/queue.h>
#include "spho/err.h"
#include "spho/data.h"
#include "spho/ctx.h"
#endif

View file

@ -1,6 +1,18 @@
#include <stdio.h>
#include "spho/spho.h"
int main(void)
{
struct spho_ctx *ctx;
ctx = NULL;
if ((ctx = spho_ctx_create()) == NULL)
return (-1);
spho_ctx_destroy(ctx);
return (0);
}