kore

An easy to use, scalable and secure web application framework for writing web APIs in C.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

ModeNameSize
-rw-r--r--.gitignore13L
-rw-r--r--BEERS43L
-rw-r--r--LICENSE15L
-rw-r--r--Makefile298L
-rw-r--r--README.md123L
-rw-r--r--RELEASE.md31L
-rw-r--r--conf/kore.conf.example367L
-rw-r--r--examples/Makefile47L
-rw-r--r--examples/async-curl/.gitignore6L
-rw-r--r--examples/async-curl/README.md12L
-rw-r--r--examples/async-curl/conf/async-curl.conf23L
-rw-r--r--examples/async-curl/conf/build.conf34L
-rw-r--r--examples/async-curl/src/ftp.c82L
-rw-r--r--examples/async-curl/src/http.c141L
-rw-r--r--examples/async-curl/src/init.c25L
-rw-r--r--examples/cookies/README.md10L
-rw-r--r--examples/cookies/conf/build.conf18L
-rw-r--r--examples/cookies/conf/cookies.conf26L
-rw-r--r--examples/cookies/src/cookies.c58L
-rw-r--r--examples/cpp/.gitignore5L
-rw-r--r--examples/cpp/README.md24L
-rw-r--r--examples/cpp/conf/build.conf22L
-rwxr-xr-xexamples/cpp/conf/cpp.conf18L
-rwxr-xr-xexamples/cpp/src/cpp.cpp36L
-rw-r--r--examples/cpp/src/example_class.cpp28L
-rw-r--r--examples/cpp/src/example_class.h30L
-rw-r--r--examples/generic/README.md11L
-rw-r--r--examples/generic/assets/index.html15L
-rw-r--r--examples/generic/assets/intro.jpg837150B
-rw-r--r--examples/generic/assets/params.html33L
-rw-r--r--examples/generic/assets/private.html16L
-rw-r--r--examples/generic/assets/private_test.html15L
-rw-r--r--examples/generic/assets/style.css16L
-rw-r--r--examples/generic/assets/upload.html22L
-rw-r--r--examples/generic/conf/build.conf22L
-rw-r--r--examples/generic/conf/generic.conf81L
-rw-r--r--examples/generic/src/example.c291L
-rwxr-xr-xexamples/headers/.gitignore5L
-rw-r--r--examples/headers/README.md13L
-rw-r--r--examples/headers/conf/build.conf18L
-rwxr-xr-xexamples/headers/conf/headers.conf17L
-rwxr-xr-xexamples/headers/src/headers.c24L
-rwxr-xr-xexamples/integers/.gitignore5L
-rw-r--r--examples/integers/README.md14L
-rw-r--r--examples/integers/conf/build.conf18L
-rwxr-xr-xexamples/integers/conf/integers.conf27L
-rwxr-xr-xexamples/integers/src/check_integers.c56L
-rwxr-xr-xexamples/json/.gitignore5L
-rw-r--r--examples/json/README.md13L
-rw-r--r--examples/json/conf/build.conf18L
-rwxr-xr-xexamples/json/conf/json.conf19L
-rwxr-xr-xexamples/json/src/json.c60L
-rwxr-xr-xexamples/jsonrpc/.gitignore7L
-rw-r--r--examples/jsonrpc/README.md67L
-rw-r--r--examples/jsonrpc/conf/build.conf19L
-rw-r--r--examples/jsonrpc/conf/jsonrpc.conf22L
-rw-r--r--examples/jsonrpc/src/home.c14L
-rw-r--r--examples/jsonrpc/src/v1.c116L
-rw-r--r--examples/jsonrpc/test/integ/jsonrpc.bats121L
-rw-r--r--examples/memtag/.gitignore6L
-rw-r--r--examples/memtag/conf/build.conf34L
-rw-r--r--examples/memtag/conf/memtag.conf18L
-rw-r--r--examples/memtag/src/memtag.c65L
-rw-r--r--examples/messaging/.gitignore5L
-rw-r--r--examples/messaging/README.md15L
-rw-r--r--examples/messaging/conf/build.conf18L
-rw-r--r--examples/messaging/conf/messaging.conf22L
-rw-r--r--examples/messaging/src/messaging.c90L
-rw-r--r--examples/nohttp/.gitignore5L
-rw-r--r--examples/nohttp/README.md14L
-rw-r--r--examples/nohttp/conf/build.conf25L
-rw-r--r--examples/nohttp/conf/nohttp.conf12L
-rw-r--r--examples/nohttp/src/init.c25L
-rw-r--r--examples/nohttp/src/nohttp.c92L
-rwxr-xr-xexamples/parameters/.gitignore5L
-rw-r--r--examples/parameters/README.md14L
-rw-r--r--examples/parameters/conf/build.conf18L
-rwxr-xr-xexamples/parameters/conf/parameters.conf26L
-rwxr-xr-xexamples/parameters/src/parameters.c74L
-rw-r--r--examples/pgsql-sync/.gitignore5L
-rw-r--r--examples/pgsql-sync/conf/build.conf18L
-rw-r--r--examples/pgsql-sync/conf/pgsql-sync.conf18L
-rw-r--r--examples/pgsql-sync/src/pgsql-sync.c93L
-rwxr-xr-xexamples/pgsql/.gitignore5L
-rw-r--r--examples/pgsql/README.md14L
-rw-r--r--examples/pgsql/conf/build.conf18L
-rwxr-xr-xexamples/pgsql/conf/pgsql.conf28L
-rw-r--r--examples/pgsql/src/init.c47L
-rw-r--r--examples/pgsql/src/pgsql.c244L
-rw-r--r--examples/pgsql/src/pgsql_cb.c136L
-rwxr-xr-xexamples/pipe_task/.gitignore5L
-rw-r--r--examples/pipe_task/README.md25L
-rw-r--r--examples/pipe_task/assets/frontend.html42L
-rw-r--r--examples/pipe_task/conf/build.conf25L
-rwxr-xr-xexamples/pipe_task/conf/pipe_task.conf24L
-rw-r--r--examples/pipe_task/src/init.c25L
-rwxr-xr-xexamples/pipe_task/src/pipe_task.c193L
-rw-r--r--examples/python-async/.gitignore6L
-rw-r--r--examples/python-async/README.md20L
-rw-r--r--examples/python-async/app.py28L
-rw-r--r--examples/python-async/async_http.py49L
-rw-r--r--examples/python-async/async_lock.py39L
-rw-r--r--examples/python-async/async_process.py72L
-rw-r--r--examples/python-async/async_queue.py58L
-rw-r--r--examples/python-async/async_socket.py59L
-rw-r--r--examples/python-echo/.gitignore6L
-rw-r--r--examples/python-echo/README.md11L
-rw-r--r--examples/python-echo/echo.py67L
-rw-r--r--examples/python-pgsql/.gitignore6L
-rw-r--r--examples/python-pgsql/README.md15L
-rw-r--r--examples/python-pgsql/__init__.py7L
-rw-r--r--examples/python-pgsql/app.py55L
-rw-r--r--examples/python-pgsql/kore.conf18L
-rwxr-xr-xexamples/sse/.gitignore5L
-rw-r--r--examples/sse/README.md14L
-rwxr-xr-xexamples/sse/assets/index.html54L
-rw-r--r--examples/sse/conf/build.conf18L
-rwxr-xr-xexamples/sse/conf/sse.conf23L
-rwxr-xr-xexamples/sse/src/sse.c182L
-rw-r--r--examples/tasks/README.md21L
-rw-r--r--examples/tasks/conf/build.conf28L
-rw-r--r--examples/tasks/conf/tasks.conf30L
-rw-r--r--examples/tasks/src/init.c25L
-rw-r--r--examples/tasks/src/tasks.c262L
-rwxr-xr-xexamples/tls-proxy/.gitignore5L
-rw-r--r--examples/tls-proxy/README.md19L
-rw-r--r--examples/tls-proxy/conf/build.conf18L
-rwxr-xr-xexamples/tls-proxy/conf/tls-proxy.conf20L
-rwxr-xr-xexamples/tls-proxy/src/proxy.c275L
-rw-r--r--examples/upload/.gitignore5L
-rw-r--r--examples/upload/conf/build.conf18L
-rw-r--r--examples/upload/conf/upload.conf21L
-rw-r--r--examples/upload/src/upload.c118L
-rwxr-xr-xexamples/video_stream/.gitignore5L
-rw-r--r--examples/video_stream/README.md22L
-rw-r--r--examples/video_stream/assets/video.html18L
-rw-r--r--examples/video_stream/conf/build.conf20L
-rwxr-xr-xexamples/video_stream/conf/video_stream.conf25L
-rwxr-xr-xexamples/video_stream/src/stream.c276L
-rw-r--r--examples/video_stream/videos/placeholder1L
-rwxr-xr-xexamples/websocket/.gitignore5L
-rw-r--r--examples/websocket/README.md17L
-rw-r--r--examples/websocket/assets/frontend.html60L
-rw-r--r--examples/websocket/conf/build.conf18L
-rwxr-xr-xexamples/websocket/conf/websocket.conf29L
-rwxr-xr-xexamples/websocket/src/websocket.c66L
-rw-r--r--include/kore/acme.h60L
-rw-r--r--include/kore/curl.h106L
-rw-r--r--include/kore/hooks.h32L
-rw-r--r--include/kore/http.h481L
-rw-r--r--include/kore/jsonrpc.h87L
-rw-r--r--include/kore/kore.h1129L
-rw-r--r--include/kore/pgsql.h116L
-rw-r--r--include/kore/python_api.h61L
-rw-r--r--include/kore/python_methods.h1053L
-rw-r--r--include/kore/seccomp.h179L
-rw-r--r--include/kore/sha1.h49L
-rw-r--r--include/kore/sha2.h84L
-rw-r--r--include/kore/tasks.h98L
-rw-r--r--kodev/Makefile59L
-rw-r--r--minisign.pub2L
-rwxr-xr-xmisc/curl-extract-opt.sh47L
-rw-r--r--misc/curl/python_curlopt.h288L
-rw-r--r--misc/ffdhe4096.pem13L
-rwxr-xr-xmisc/kore-build/build-curl.sh19L
-rwxr-xr-xmisc/kore-build/build-kodev.sh16L
-rwxr-xr-xmisc/kore-build/build-kore.sh67L
-rwxr-xr-xmisc/kore-build/build-nghttp2.sh16L
-rwxr-xr-xmisc/kore-build/build-openssl.sh16L
-rwxr-xr-xmisc/kore-build/build-python.sh17L
-rw-r--r--misc/kore-build/helpers.sh72L
-rwxr-xr-xmisc/linux-platform.sh50L
-rw-r--r--misc/linux/aarch64_syscall.h.in290L
-rw-r--r--misc/linux/arm_syscall.h.in397L
-rw-r--r--misc/linux/x86_64_syscall.h.in346L
-rwxr-xr-xmisc/python3-config.sh14L
-rw-r--r--share/man/kodev.1278L
-rw-r--r--src/accesslog.c340L
-rw-r--r--src/acme.c1750L
-rw-r--r--src/auth.c178L
-rw-r--r--src/bsd.c329L
-rw-r--r--src/buf.c190L
-rw-r--r--src/cli.c2516L
-rw-r--r--src/config.c2119L
-rw-r--r--src/connection.c423L
-rw-r--r--src/curl.c750L
-rw-r--r--src/domain.c220L
-rw-r--r--src/filemap.c317L
-rw-r--r--src/fileref.c244L
-rw-r--r--src/http.c2623L
-rw-r--r--src/json.c960L
-rw-r--r--src/jsonrpc.c478L
-rw-r--r--src/keymgr_openssl.c1372L
-rw-r--r--src/kore.c997L
-rw-r--r--src/linux.c279L
-rw-r--r--src/log.c159L
-rw-r--r--src/mem.c325L
-rw-r--r--src/module.c244L
-rw-r--r--src/msg.c305L
-rw-r--r--src/net.c452L
-rw-r--r--src/pgsql.c812L
-rw-r--r--src/pool.c209L
-rw-r--r--src/python.c6783L
-rw-r--r--src/route.c138L
-rw-r--r--src/runtime.c256L
-rw-r--r--src/seccomp.c524L
-rw-r--r--src/sha1.c172L
-rw-r--r--src/sha2.c879L
-rw-r--r--src/tasks.c380L
-rw-r--r--src/timer.c110L
-rw-r--r--src/tls_none.c167L
-rw-r--r--src/tls_openssl.c1192L
-rw-r--r--src/utils.c767L
-rw-r--r--src/validator.c139L
-rw-r--r--src/websocket.c380L
-rw-r--r--src/worker.c1091L
-rw-r--r--tools/kore-serve/.gitignore6L
-rw-r--r--tools/kore-serve/conf/build.conf27L
-rw-r--r--tools/kore-serve/conf/kore-serve.conf2L
-rw-r--r--tools/kore-serve/src/kore-serve.c95L