├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md └── workflows │ ├── ci.yml │ └── deploy.yml ├── .gitignore ├── CODE_OF_CONDUCT.md ├── Debug ├── help ├── makefile ├── objects.mk ├── sources.mk ├── src │ ├── argparse │ │ └── subdir.mk │ ├── base64 │ │ └── subdir.mk │ ├── cexpr │ │ └── subdir.mk │ ├── cfgparser │ │ └── subdir.mk │ ├── ctree │ │ └── subdir.mk │ ├── expr │ │ └── subdir.mk │ ├── imap │ │ └── subdir.mk │ ├── iso8601 │ │ └── subdir.mk │ ├── lib │ │ └── subdir.mk │ ├── llist │ │ └── subdir.mk │ ├── lock │ │ └── subdir.mk │ ├── logger │ │ └── subdir.mk │ ├── omap │ │ └── subdir.mk │ ├── owcrypt │ │ └── subdir.mk │ ├── procinfo │ │ └── subdir.mk │ ├── qpack │ │ └── subdir.mk │ ├── qpjson │ │ └── subdir.mk │ ├── siri │ │ ├── args │ │ │ └── subdir.mk │ │ ├── cfg │ │ │ └── subdir.mk │ │ ├── db │ │ │ └── subdir.mk │ │ ├── file │ │ │ └── subdir.mk │ │ ├── grammar │ │ │ └── subdir.mk │ │ ├── help │ │ │ └── subdir.mk │ │ ├── net │ │ │ └── subdir.mk │ │ ├── service │ │ │ └── subdir.mk │ │ └── subdir.mk │ ├── timeit │ │ └── subdir.mk │ ├── vec │ │ └── subdir.mk │ ├── xmath │ │ └── subdir.mk │ ├── xpath │ │ └── subdir.mk │ └── xstr │ │ └── subdir.mk └── subdir.mk ├── LICENSE.md ├── README.md ├── Release ├── help ├── makefile ├── objects.mk ├── sources.mk ├── src │ ├── argparse │ │ └── subdir.mk │ ├── base64 │ │ └── subdir.mk │ ├── cexpr │ │ └── subdir.mk │ ├── cfgparser │ │ └── subdir.mk │ ├── ctree │ │ └── subdir.mk │ ├── expr │ │ └── subdir.mk │ ├── imap │ │ └── subdir.mk │ ├── iso8601 │ │ └── subdir.mk │ ├── lib │ │ └── subdir.mk │ ├── llist │ │ └── subdir.mk │ ├── lock │ │ └── subdir.mk │ ├── logger │ │ └── subdir.mk │ ├── omap │ │ └── subdir.mk │ ├── owcrypt │ │ └── subdir.mk │ ├── procinfo │ │ └── subdir.mk │ ├── qpack │ │ └── subdir.mk │ ├── qpjson │ │ └── subdir.mk │ ├── siri │ │ ├── args │ │ │ └── subdir.mk │ │ ├── cfg │ │ │ └── subdir.mk │ │ ├── db │ │ │ └── subdir.mk │ │ ├── file │ │ │ └── subdir.mk │ │ ├── grammar │ │ │ └── subdir.mk │ │ ├── help │ │ │ └── subdir.mk │ │ ├── net │ │ │ └── subdir.mk │ │ ├── service │ │ │ └── subdir.mk │ │ └── subdir.mk │ ├── timeit │ │ └── subdir.mk │ ├── vec │ │ └── subdir.mk │ ├── xmath │ │ └── subdir.mk │ ├── xpath │ │ └── subdir.mk │ └── xstr │ │ └── subdir.mk └── subdir.mk ├── debian ├── changelog ├── clean ├── compat ├── control ├── copyright ├── dirs ├── docs ├── install ├── links ├── manpages ├── postinst ├── postrm ├── rules ├── siridb-server.service ├── source │ └── format ├── tests │ └── control └── watch ├── docker └── Dockerfile ├── docs ├── Kubernetes │ ├── README.md │ ├── pdb.yaml │ ├── service.yaml │ └── statefulset.yaml └── uml │ ├── siri_class_diagram.uxf │ ├── siri_parser.uxf │ ├── siridb_class_diagram.uxf │ └── siridb_parser.uxf ├── grammar ├── export_grammar.py ├── grammar.py └── siridbhelp.py ├── help ├── help.md ├── help_access.md ├── help_alter.md ├── help_alter_database.md ├── help_alter_group.md ├── help_alter_server.md ├── help_alter_servers.md ├── help_alter_user.md ├── help_count.md ├── help_count_groups.md ├── help_count_pools.md ├── help_count_series.md ├── help_count_servers.md ├── help_count_shards.md ├── help_count_users.md ├── help_create.md ├── help_create_group.md ├── help_create_user.md ├── help_drop.md ├── help_drop_group.md ├── help_drop_series.md ├── help_drop_server.md ├── help_drop_shards.md ├── help_drop_user.md ├── help_functions.md ├── help_grant.md ├── help_list.md ├── help_list_groups.md ├── help_list_pools.md ├── help_list_series.md ├── help_list_servers.md ├── help_list_shards.md ├── help_list_users.md ├── help_noaccess.md ├── help_revoke.md ├── help_select.md ├── help_show.md ├── help_timeit.md └── help_timezones.md ├── include ├── argparse │ └── argparse.h ├── base64 │ └── base64.h ├── cexpr │ └── cexpr.h ├── cfgparser │ └── cfgparser.h ├── ctree │ └── ctree.h ├── expr │ └── expr.h ├── imap │ └── imap.h ├── iso8601 │ └── iso8601.h ├── lib │ └── http_parser.h ├── llist │ └── llist.h ├── lock │ └── lock.h ├── logger │ └── logger.h ├── omap │ └── omap.h ├── owcrypt │ └── owcrypt.h ├── procinfo │ └── procinfo.h ├── qpack │ └── qpack.h ├── qpjson │ └── qpjson.h ├── siri │ ├── api.h │ ├── args │ │ └── args.h │ ├── async.h │ ├── backup.h │ ├── buffersync.h │ ├── cfg │ │ └── cfg.h │ ├── db │ │ ├── access.h │ │ ├── aggregate.h │ │ ├── auth.h │ │ ├── buffer.h │ │ ├── db.h │ │ ├── ffile.h │ │ ├── fifo.h │ │ ├── forward.h │ │ ├── group.h │ │ ├── groups.h │ │ ├── initsync.h │ │ ├── insert.h │ │ ├── listener.h │ │ ├── lookup.h │ │ ├── median.h │ │ ├── misc.h │ │ ├── nodes.h │ │ ├── pcache.h │ │ ├── points.h │ │ ├── pool.h │ │ ├── pools.h │ │ ├── presuf.h │ │ ├── props.h │ │ ├── queries.h │ │ ├── query.h │ │ ├── re.h │ │ ├── reindex.h │ │ ├── replicate.h │ │ ├── series.h │ │ ├── series.inline.h │ │ ├── server.h │ │ ├── servers.h │ │ ├── shard.h │ │ ├── shards.h │ │ ├── sset.h │ │ ├── tag.h │ │ ├── tags.h │ │ ├── tasks.h │ │ ├── tee.h │ │ ├── time.h │ │ ├── user.h │ │ ├── users.h │ │ ├── variance.h │ │ └── walker.h │ ├── err.h │ ├── evars.h │ ├── file │ │ ├── handler.h │ │ └── pointer.h │ ├── grammar │ │ ├── grammar.h │ │ └── gramp.h │ ├── health.h │ ├── heartbeat.h │ ├── help │ │ └── help.h │ ├── inc.h │ ├── net │ │ ├── bserver.h │ │ ├── clserver.h │ │ ├── pipe.h │ │ ├── pkg.h │ │ ├── promise.h │ │ ├── promises.h │ │ ├── protocol.h │ │ ├── stream.h │ │ └── tcp.h │ ├── optimize.h │ ├── service │ │ ├── account.h │ │ ├── client.h │ │ └── request.h │ ├── siri.h │ └── version.h ├── timeit │ └── timeit.h ├── vec │ └── vec.h ├── xmath │ └── xmath.h ├── xpath │ └── xpath.h └── xstr │ └── xstr.h ├── itest ├── .dockerignore ├── Dockerfile ├── data_google_finance.py ├── querygenerator │ ├── __init__.py │ ├── k_map.py │ └── querygenerator.py ├── requirements.txt ├── run_all.py ├── siridb-random-data.py ├── slow_connection_test.sh ├── tee_server.py ├── test_auto_duration.py ├── test_buffer.py ├── test_cluster.py ├── test_compression.py ├── test_create_database.py ├── test_expiration.py ├── test_grammar.py ├── test_group.py ├── test_http_api.py ├── test_insert.py ├── test_integer_load.py ├── test_list.py ├── test_log.py ├── test_parentheses.py ├── test_pipe_support.py ├── test_pool.py ├── test_select.py ├── test_select_ns.py ├── test_series.py ├── test_server.py ├── test_syslog.py ├── test_tags.py ├── test_user.py └── testing │ ├── __init__.py │ ├── args.py │ ├── client.py │ ├── color.py │ ├── constants.py │ ├── helpers.py │ ├── pipe_client.py │ ├── pipe_server.py │ ├── series.py │ ├── server.py │ ├── siridb.py │ ├── spinner.py │ ├── task.py │ └── testbase.py ├── main.c ├── makefile.targets ├── resources └── siridb-wallpaper.png ├── siridb.conf ├── src ├── argparse │ └── argparse.c ├── base64 │ └── base64.c ├── cexpr │ └── cexpr.c ├── cfgparser │ └── cfgparser.c ├── ctree │ └── ctree.c ├── expr │ └── expr.c ├── imap │ └── imap.c ├── iso8601 │ └── iso8601.c ├── lib │ └── http_parser.c ├── llist │ └── llist.c ├── lock │ └── lock.c ├── logger │ └── logger.c ├── omap │ └── omap.c ├── owcrypt │ └── owcrypt.c ├── procinfo │ └── procinfo.c ├── qpack │ └── qpack.c ├── qpjson │ └── qpjson.c ├── siri │ ├── api.c │ ├── args │ │ └── args.c │ ├── async.c │ ├── backup.c │ ├── buffersync.c │ ├── cfg │ │ └── cfg.c │ ├── db │ │ ├── access.c │ │ ├── aggregate.c │ │ ├── auth.c │ │ ├── buffer.c │ │ ├── db.c │ │ ├── ffile.c │ │ ├── fifo.c │ │ ├── forward.c │ │ ├── group.c │ │ ├── groups.c │ │ ├── initsync.c │ │ ├── insert.c │ │ ├── listener.c │ │ ├── lookup.c │ │ ├── median.c │ │ ├── misc.c │ │ ├── nodes.c │ │ ├── pcache.c │ │ ├── points.c │ │ ├── pool.c │ │ ├── pools.c │ │ ├── presuf.c │ │ ├── props.c │ │ ├── queries.c │ │ ├── query.c │ │ ├── re.c │ │ ├── reindex.c │ │ ├── replicate.c │ │ ├── series.c │ │ ├── server.c │ │ ├── servers.c │ │ ├── shard.c │ │ ├── shards.c │ │ ├── sset.c │ │ ├── tag.c │ │ ├── tags.c │ │ ├── tasks.c │ │ ├── tee.c │ │ ├── time.c │ │ ├── user.c │ │ ├── users.c │ │ ├── variance.c │ │ └── walker.c │ ├── err.c │ ├── evars.c │ ├── file │ │ ├── handler.c │ │ └── pointer.c │ ├── grammar │ │ └── grammar.c │ ├── health.c │ ├── heartbeat.c │ ├── help │ │ └── help.c │ ├── net │ │ ├── bserver.c │ │ ├── clserver.c │ │ ├── pipe.c │ │ ├── pkg.c │ │ ├── promise.c │ │ ├── promises.c │ │ ├── protocol.c │ │ ├── stream.c │ │ └── tcp.c │ ├── optimize.c │ ├── service │ │ ├── account.c │ │ ├── client.c │ │ └── request.c │ ├── siri.c │ └── version.c ├── timeit │ └── timeit.c ├── vec │ └── vec.c ├── xmath │ └── xmath.c ├── xpath │ └── xpath.c └── xstr │ └── xstr.c └── test ├── test.h ├── test.sh ├── test_access ├── sources └── test_access.c ├── test_aggr ├── sources └── test_aggr.c ├── test_ctree ├── sources └── test_ctree.c ├── test_expr ├── sources └── test_expr.c ├── test_grammar ├── sources └── test_grammar.c ├── test_imap ├── sources └── test_imap.c ├── test_iso8601 ├── sources └── test_iso8601.c ├── test_lookup ├── sources └── test_lookup.c ├── test_siridb ├── sources └── test_siridb.c ├── test_vec ├── sources └── test_vec.c ├── test_version ├── sources └── test_version.c ├── test_xmath ├── sources └── test_xmath.c ├── test_xpath ├── sources └── test_xpath.c └── test_xstr ├── sources └── test_xstr.c /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: cesbit 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Bug report 3 | about: Create a report to help us improve 4 | title: '' 5 | labels: bug 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **To Reproduce** 14 | Steps to reproduce the behavior: 15 | 1. Create a database with the following configuration '...' 16 | 2. Do the following action '....' 17 | 3. See error 18 | 19 | **Expected behavior** 20 | A clear and concise description of what you expected to happen. 21 | 22 | **Screenshots** 23 | If applicable, add screenshots to help explain your problem. 24 | 25 | **Machine/OS (please complete the following information):** 26 | - OS: [e.g. Debian] 27 | - Version [e.g. Buster, AMD64] 28 | 29 | **Additional context** 30 | Add any other context about the problem here. 31 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature request 3 | about: Suggest an idea for this project 4 | title: '' 5 | labels: enhancement 6 | assignees: '' 7 | 8 | --- 9 | 10 | **Is your feature request related to a problem? Please describe.** 11 | A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] 12 | 13 | **Describe the solution you'd like** 14 | A clear and concise description of what you want to happen. 15 | 16 | **Describe alternatives you've considered** 17 | A clear and concise description of any alternative solutions or features you've considered. 18 | 19 | **Additional context** 20 | Add any other context or screenshots about the feature request here. 21 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: CI 2 | on: 3 | push: 4 | branches: 5 | - master 6 | pull_request: 7 | branches: 8 | - master 9 | 10 | jobs: 11 | build: 12 | runs-on: ubuntu-latest 13 | steps: 14 | - uses: actions/checkout@v2 15 | - name: Install libcleri 16 | run: | 17 | git clone https://github.com/cesbit/libcleri.git 18 | cd ./libcleri/Release/ 19 | make 20 | sudo make install 21 | - name: Install dependencies 22 | run: | 23 | sudo apt-get update -y 24 | sudo apt-get install -y libuv1-dev libpcre2-dev libyajl-dev valgrind 25 | - name: Run tests 26 | run: | 27 | cd ./Release/ 28 | make test 29 | - name: Compile code 30 | run: | 31 | cd ./Release/ 32 | CFLAGS="-Werror -Winline -std=gnu89" make 33 | -------------------------------------------------------------------------------- /.github/workflows/deploy.yml: -------------------------------------------------------------------------------- 1 | name: Deploy 2 | 3 | on: 4 | push: 5 | tags: 6 | - "*" 7 | 8 | env: 9 | REGISTRY: ghcr.io 10 | IMAGE_NAME: ${{ github.repository }} 11 | 12 | jobs: 13 | build-and-push-image: 14 | runs-on: ubuntu-latest 15 | permissions: 16 | contents: read 17 | packages: write 18 | 19 | steps: 20 | - name: Checkout repository 21 | uses: actions/checkout@v2 22 | 23 | - name: Log in to the Container registry 24 | uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9 25 | with: 26 | registry: ${{ env.REGISTRY }} 27 | username: ${{ github.actor }} 28 | password: ${{ secrets.GITHUB_TOKEN }} 29 | 30 | - name: Extract metadata (tags, labels) for Docker 31 | id: meta 32 | uses: docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38 33 | with: 34 | images: ${{ env.REGISTRY }}/siridb/siridb-server 35 | 36 | - name: Get the version 37 | id: get_version 38 | run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) 39 | 40 | - name: Build and push Docker image 41 | uses: docker/build-push-action@ad44023a93711e3deb337508980b4b5e9bcdc5dc 42 | with: 43 | context: . 44 | push: true 45 | file: docker/Dockerfile 46 | tags: ghcr.io/siridb/siridb-server:${{ steps.get_version.outputs.VERSION }},ghcr.io/siridb/siridb-server:latest 47 | labels: ${{ steps.meta.outputs.labels }} 48 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Object files 2 | *.o 3 | *.ko 4 | *.obj 5 | *.elf 6 | 7 | # Precompiled Headers 8 | *.gch 9 | *.pch 10 | 11 | # Libraries 12 | *.lib 13 | *.a 14 | *.la 15 | *.lo 16 | 17 | # Shared objects (inc. Windows DLLs) 18 | *.dll 19 | *.so 20 | *.so.* 21 | *.dylib 22 | 23 | # Executables 24 | *.exe 25 | *.out 26 | *.app 27 | *.i*86 28 | *.x86_64 29 | *.hex 30 | *.out 31 | 32 | # Debug files 33 | *.dSYM/ 34 | 35 | /Debug/siridb-server 36 | /Release/siridb-server 37 | *.d 38 | *.d 39 | /testdir 40 | *.log 41 | 42 | # Eclipse 43 | /.settings 44 | .cproject 45 | .project 46 | 47 | # Code:blocks 48 | bin/ 49 | siridbc.cbp 50 | siridbc.depend 51 | siridbc.layout 52 | 53 | # Python 54 | */__pycache__/* 55 | *.pyc 56 | 57 | # Build 58 | build/ 59 | 60 | # Grammar 61 | grammar/cgrammar/ 62 | grammar/jsgrammar/ 63 | grammar/pygrammar/ 64 | grammar/gogrammar/ 65 | grammar/javagrammar/ 66 | 67 | # Sublime Text 68 | *.sublime-project 69 | *.sublime-workspace 70 | 71 | # VS Code 72 | .vscode/ 73 | 74 | # Test 75 | itest/testdir 76 | test/testdir 77 | 78 | # Debian 79 | debian/.debhelper/ 80 | debian/debhelper-build-stamp 81 | debian/files 82 | debian/siridb-server.postrm.debhelper 83 | debian/siridb-server.substvars 84 | debian/siridb-server/ 85 | Release/siridb-server.1 86 | 87 | -------------------------------------------------------------------------------- /Debug/help: -------------------------------------------------------------------------------- 1 | ../help/ -------------------------------------------------------------------------------- /Debug/objects.mk: -------------------------------------------------------------------------------- 1 | USER_OBJS := 2 | 3 | LIBS := -luv -lm -lpcre2-8 -lcleri -lyajl 4 | 5 | -------------------------------------------------------------------------------- /Debug/sources.mk: -------------------------------------------------------------------------------- 1 | OBJ_SRCS := 2 | ASM_SRCS := 3 | C_SRCS := 4 | O_SRCS := 5 | S_UPPER_SRCS := 6 | EXECUTABLES := 7 | OBJS := 8 | C_DEPS := 9 | 10 | # Every subdirectory with source files must be described here 11 | SUBDIRS := \ 12 | . \ 13 | src/argparse \ 14 | src/base64 \ 15 | src/cexpr \ 16 | src/cfgparser \ 17 | src/ctree \ 18 | src/expr \ 19 | src/imap \ 20 | src/iso8601 \ 21 | src/lib \ 22 | src/llist \ 23 | src/lock \ 24 | src/logger \ 25 | src/omap \ 26 | src/owcrypt \ 27 | src/procinfo \ 28 | src/qpack \ 29 | src/qpjson \ 30 | src/siri/service \ 31 | src/siri/args \ 32 | src/siri \ 33 | src/siri/cfg \ 34 | src/siri/db \ 35 | src/siri/file \ 36 | src/siri/grammar \ 37 | src/siri/help \ 38 | src/siri/net \ 39 | src/vec \ 40 | src/xstr \ 41 | src/timeit \ 42 | src/xmath \ 43 | src/xpath \ 44 | 45 | -------------------------------------------------------------------------------- /Debug/src/argparse/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/argparse/argparse.c 4 | 5 | OBJS += \ 6 | ./src/argparse/argparse.o 7 | 8 | C_DEPS += \ 9 | ./src/argparse/argparse.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/argparse/%.o: ../src/argparse/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/base64/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/base64/base64.c 4 | 5 | OBJS += \ 6 | ./src/base64/base64.o 7 | 8 | C_DEPS += \ 9 | ./src/base64/base64.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/base64/%.o: ../src/base64/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/cexpr/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/cexpr/cexpr.c 4 | 5 | OBJS += \ 6 | ./src/cexpr/cexpr.o 7 | 8 | C_DEPS += \ 9 | ./src/cexpr/cexpr.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/cexpr/%.o: ../src/cexpr/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/cfgparser/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/cfgparser/cfgparser.c 4 | 5 | OBJS += \ 6 | ./src/cfgparser/cfgparser.o 7 | 8 | C_DEPS += \ 9 | ./src/cfgparser/cfgparser.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/cfgparser/%.o: ../src/cfgparser/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/ctree/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/ctree/ctree.c 4 | 5 | OBJS += \ 6 | ./src/ctree/ctree.o 7 | 8 | C_DEPS += \ 9 | ./src/ctree/ctree.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/ctree/%.o: ../src/ctree/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/expr/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/expr/expr.c 4 | 5 | OBJS += \ 6 | ./src/expr/expr.o 7 | 8 | C_DEPS += \ 9 | ./src/expr/expr.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/expr/%.o: ../src/expr/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/imap/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/imap/imap.c 4 | 5 | OBJS += \ 6 | ./src/imap/imap.o 7 | 8 | C_DEPS += \ 9 | ./src/imap/imap.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/imap/%.o: ../src/imap/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/iso8601/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/iso8601/iso8601.c 4 | 5 | OBJS += \ 6 | ./src/iso8601/iso8601.o 7 | 8 | C_DEPS += \ 9 | ./src/iso8601/iso8601.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/iso8601/%.o: ../src/iso8601/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/lib/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/lib/http_parser.c 4 | 5 | OBJS += \ 6 | ./src/lib/http_parser.o 7 | 8 | C_DEPS += \ 9 | ./src/lib/http_parser.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/lib/%.o: ../src/lib/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/llist/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/llist/llist.c 4 | 5 | OBJS += \ 6 | ./src/llist/llist.o 7 | 8 | C_DEPS += \ 9 | ./src/llist/llist.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/llist/%.o: ../src/llist/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/lock/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/lock/lock.c 4 | 5 | OBJS += \ 6 | ./src/lock/lock.o 7 | 8 | C_DEPS += \ 9 | ./src/lock/lock.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/lock/%.o: ../src/lock/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/logger/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/logger/logger.c 4 | 5 | OBJS += \ 6 | ./src/logger/logger.o 7 | 8 | C_DEPS += \ 9 | ./src/logger/logger.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/logger/%.o: ../src/logger/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/omap/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/omap/omap.c 4 | 5 | OBJS += \ 6 | ./src/omap/omap.o 7 | 8 | C_DEPS += \ 9 | ./src/omap/omap.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/omap/%.o: ../src/omap/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/owcrypt/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/owcrypt/owcrypt.c 4 | 5 | OBJS += \ 6 | ./src/owcrypt/owcrypt.o 7 | 8 | C_DEPS += \ 9 | ./src/owcrypt/owcrypt.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/owcrypt/%.o: ../src/owcrypt/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/procinfo/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/procinfo/procinfo.c 4 | 5 | OBJS += \ 6 | ./src/procinfo/procinfo.o 7 | 8 | C_DEPS += \ 9 | ./src/procinfo/procinfo.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/procinfo/%.o: ../src/procinfo/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/qpack/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/qpack/qpack.c 4 | 5 | OBJS += \ 6 | ./src/qpack/qpack.o 7 | 8 | C_DEPS += \ 9 | ./src/qpack/qpack.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/qpack/%.o: ../src/qpack/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/qpjson/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/qpjson/qpjson.c 4 | 5 | OBJS += \ 6 | ./src/qpjson/qpjson.o 7 | 8 | C_DEPS += \ 9 | ./src/qpjson/qpjson.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/qpjson/%.o: ../src/qpjson/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/siri/args/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/args/args.c 4 | 5 | OBJS += \ 6 | ./src/siri/args/args.o 7 | 8 | C_DEPS += \ 9 | ./src/siri/args/args.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/siri/args/%.o: ../src/siri/args/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/siri/cfg/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/cfg/cfg.c 4 | 5 | OBJS += \ 6 | ./src/siri/cfg/cfg.o 7 | 8 | C_DEPS += \ 9 | ./src/siri/cfg/cfg.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/siri/cfg/%.o: ../src/siri/cfg/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/siri/file/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/file/handler.c \ 4 | ../src/siri/file/pointer.c 5 | 6 | OBJS += \ 7 | ./src/siri/file/handler.o \ 8 | ./src/siri/file/pointer.o 9 | 10 | C_DEPS += \ 11 | ./src/siri/file/handler.d \ 12 | ./src/siri/file/pointer.d 13 | 14 | 15 | # Each subdirectory must supply rules for building sources it contributes 16 | src/siri/file/%.o: ../src/siri/file/%.c 17 | @echo 'Building file: $<' 18 | @echo 'Invoking: GCC C Compiler' 19 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 20 | @echo 'Finished building: $<' 21 | @echo ' ' 22 | 23 | 24 | -------------------------------------------------------------------------------- /Debug/src/siri/grammar/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/grammar/grammar.c 4 | 5 | OBJS += \ 6 | ./src/siri/grammar/grammar.o 7 | 8 | C_DEPS += \ 9 | ./src/siri/grammar/grammar.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/siri/grammar/%.o: ../src/siri/grammar/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/siri/help/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/help/help.c 4 | 5 | OBJS += \ 6 | ./src/siri/help/help.o 7 | 8 | C_DEPS += \ 9 | ./src/siri/help/help.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/siri/help/%.o: ../src/siri/help/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/siri/net/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/net/bserver.c \ 4 | ../src/siri/net/clserver.c \ 5 | ../src/siri/net/pkg.c \ 6 | ../src/siri/net/promise.c \ 7 | ../src/siri/net/promises.c \ 8 | ../src/siri/net/protocol.c \ 9 | ../src/siri/net/stream.c \ 10 | ../src/siri/net/tcp.c \ 11 | ../src/siri/net/pipe.c 12 | 13 | OBJS += \ 14 | ./src/siri/net/bserver.o \ 15 | ./src/siri/net/clserver.o \ 16 | ./src/siri/net/pkg.o \ 17 | ./src/siri/net/promise.o \ 18 | ./src/siri/net/promises.o \ 19 | ./src/siri/net/protocol.o \ 20 | ./src/siri/net/stream.o \ 21 | ./src/siri/net/tcp.o \ 22 | ./src/siri/net/pipe.o 23 | 24 | C_DEPS += \ 25 | ./src/siri/net/bserver.d \ 26 | ./src/siri/net/clserver.d \ 27 | ./src/siri/net/pkg.d \ 28 | ./src/siri/net/promise.d \ 29 | ./src/siri/net/promises.d \ 30 | ./src/siri/net/protocol.d \ 31 | ./src/siri/net/stream.d \ 32 | ./src/siri/net/tcp.d \ 33 | ./src/siri/net/pipe.d 34 | 35 | 36 | # Each subdirectory must supply rules for building sources it contributes 37 | src/siri/net/%.o: ../src/siri/net/%.c 38 | @echo 'Building file: $<' 39 | @echo 'Invoking: GCC C Compiler' 40 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 41 | @echo 'Finished building: $<' 42 | @echo ' ' 43 | -------------------------------------------------------------------------------- /Debug/src/siri/service/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/service/account.c \ 4 | ../src/siri/service/client.c \ 5 | ../src/siri/service/request.c 6 | 7 | OBJS += \ 8 | ./src/siri/service/account.o \ 9 | ./src/siri/service/client.o \ 10 | ./src/siri/service/request.o 11 | 12 | C_DEPS += \ 13 | ./src/siri/service/account.d \ 14 | ./src/siri/service/client.d \ 15 | ./src/siri/service/request.d 16 | 17 | 18 | # Each subdirectory must supply rules for building sources it contributes 19 | src/siri/service/%.o: ../src/siri/service/%.c 20 | @echo 'Building file: $<' 21 | @echo 'Invoking: GCC C Compiler' 22 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 23 | @echo 'Finished building: $<' 24 | @echo ' ' 25 | 26 | 27 | -------------------------------------------------------------------------------- /Debug/src/siri/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/api.c \ 4 | ../src/siri/async.c \ 5 | ../src/siri/backup.c \ 6 | ../src/siri/buffersync.c \ 7 | ../src/siri/err.c \ 8 | ../src/siri/evars.c \ 9 | ../src/siri/health.c \ 10 | ../src/siri/heartbeat.c \ 11 | ../src/siri/optimize.c \ 12 | ../src/siri/siri.c \ 13 | ../src/siri/version.c 14 | 15 | OBJS += \ 16 | ./src/siri/api.o \ 17 | ./src/siri/async.o \ 18 | ./src/siri/backup.o \ 19 | ./src/siri/buffersync.o \ 20 | ./src/siri/err.o \ 21 | ./src/siri/evars.o \ 22 | ./src/siri/health.o \ 23 | ./src/siri/heartbeat.o \ 24 | ./src/siri/optimize.o \ 25 | ./src/siri/siri.o \ 26 | ./src/siri/version.o 27 | 28 | C_DEPS += \ 29 | ./src/siri/api.d \ 30 | ./src/siri/async.d \ 31 | ./src/siri/backup.d \ 32 | ./src/siri/buffersync.d \ 33 | ./src/siri/err.d \ 34 | ./src/siri/evars.d \ 35 | ./src/siri/health.d \ 36 | ./src/siri/heartbeat.d \ 37 | ./src/siri/optimize.d \ 38 | ./src/siri/siri.d \ 39 | ./src/siri/version.d 40 | 41 | 42 | # Each subdirectory must supply rules for building sources it contributes 43 | src/siri/%.o: ../src/siri/%.c 44 | @echo 'Building file: $<' 45 | @echo 'Invoking: GCC C Compiler' 46 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 47 | @echo 'Finished building: $<' 48 | @echo ' ' 49 | 50 | 51 | -------------------------------------------------------------------------------- /Debug/src/timeit/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/timeit/timeit.c 4 | 5 | OBJS += \ 6 | ./src/timeit/timeit.o 7 | 8 | C_DEPS += \ 9 | ./src/timeit/timeit.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/timeit/%.o: ../src/timeit/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/vec/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/vec/vec.c 4 | 5 | OBJS += \ 6 | ./src/vec/vec.o 7 | 8 | C_DEPS += \ 9 | ./src/vec/vec.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/vec/%.o: ../src/vec/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/xmath/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/xmath/xmath.c 4 | 5 | OBJS += \ 6 | ./src/xmath/xmath.o 7 | 8 | C_DEPS += \ 9 | ./src/xmath/xmath.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/xmath/%.o: ../src/xmath/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/xpath/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/xpath/xpath.c 4 | 5 | OBJS += \ 6 | ./src/xpath/xpath.o 7 | 8 | C_DEPS += \ 9 | ./src/xpath/xpath.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/xpath/%.o: ../src/xpath/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/src/xstr/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/xstr/xstr.c 4 | 5 | OBJS += \ 6 | ./src/xstr/xstr.o 7 | 8 | C_DEPS += \ 9 | ./src/xstr/xstr.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/xstr/%.o: ../src/xstr/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Debug/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../main.c 4 | 5 | OBJS += \ 6 | ./main.o 7 | 8 | C_DEPS += \ 9 | ./main.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | %.o: ../%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | gcc -I../include -O0 -g3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Cesbit 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /Release/help: -------------------------------------------------------------------------------- 1 | ../help/ -------------------------------------------------------------------------------- /Release/objects.mk: -------------------------------------------------------------------------------- 1 | USER_OBJS := 2 | 3 | LIBS := -luv -lm -lpcre2-8 -lcleri -lyajl 4 | 5 | -------------------------------------------------------------------------------- /Release/sources.mk: -------------------------------------------------------------------------------- 1 | OBJ_SRCS := 2 | ASM_SRCS := 3 | C_SRCS := 4 | O_SRCS := 5 | S_UPPER_SRCS := 6 | EXECUTABLES := 7 | OBJS := 8 | C_DEPS := 9 | 10 | # Every subdirectory with source files must be described here 11 | SUBDIRS := \ 12 | . \ 13 | src/argparse \ 14 | src/base64 \ 15 | src/cexpr \ 16 | src/cfgparser \ 17 | src/ctree \ 18 | src/expr \ 19 | src/imap \ 20 | src/iso8601 \ 21 | src/lib \ 22 | src/llist \ 23 | src/lock \ 24 | src/logger \ 25 | src/omap \ 26 | src/owcrypt \ 27 | src/procinfo \ 28 | src/qpack \ 29 | src/qpjson \ 30 | src/siri/service \ 31 | src/siri/args \ 32 | src/siri \ 33 | src/siri/cfg \ 34 | src/siri/db \ 35 | src/siri/file \ 36 | src/siri/grammar \ 37 | src/siri/help \ 38 | src/siri/net \ 39 | src/vec \ 40 | src/xstr \ 41 | src/timeit \ 42 | src/xmath \ 43 | src/xpath \ 44 | 45 | -------------------------------------------------------------------------------- /Release/src/argparse/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/argparse/argparse.c 4 | 5 | OBJS += \ 6 | ./src/argparse/argparse.o 7 | 8 | C_DEPS += \ 9 | ./src/argparse/argparse.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/argparse/%.o: ../src/argparse/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/base64/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/base64/base64.c 4 | 5 | OBJS += \ 6 | ./src/base64/base64.o 7 | 8 | C_DEPS += \ 9 | ./src/base64/base64.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/base64/%.o: ../src/base64/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/cexpr/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/cexpr/cexpr.c 4 | 5 | OBJS += \ 6 | ./src/cexpr/cexpr.o 7 | 8 | C_DEPS += \ 9 | ./src/cexpr/cexpr.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/cexpr/%.o: ../src/cexpr/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/cfgparser/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/cfgparser/cfgparser.c 4 | 5 | OBJS += \ 6 | ./src/cfgparser/cfgparser.o 7 | 8 | C_DEPS += \ 9 | ./src/cfgparser/cfgparser.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/cfgparser/%.o: ../src/cfgparser/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/ctree/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/ctree/ctree.c 4 | 5 | OBJS += \ 6 | ./src/ctree/ctree.o 7 | 8 | C_DEPS += \ 9 | ./src/ctree/ctree.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/ctree/%.o: ../src/ctree/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/expr/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/expr/expr.c 4 | 5 | OBJS += \ 6 | ./src/expr/expr.o 7 | 8 | C_DEPS += \ 9 | ./src/expr/expr.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/expr/%.o: ../src/expr/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/imap/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/imap/imap.c 4 | 5 | OBJS += \ 6 | ./src/imap/imap.o 7 | 8 | C_DEPS += \ 9 | ./src/imap/imap.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/imap/%.o: ../src/imap/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/iso8601/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/iso8601/iso8601.c 4 | 5 | OBJS += \ 6 | ./src/iso8601/iso8601.o 7 | 8 | C_DEPS += \ 9 | ./src/iso8601/iso8601.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/iso8601/%.o: ../src/iso8601/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/lib/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/lib/http_parser.c 4 | 5 | OBJS += \ 6 | ./src/lib/http_parser.o 7 | 8 | C_DEPS += \ 9 | ./src/lib/http_parser.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/lib/%.o: ../src/lib/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/llist/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/llist/llist.c 4 | 5 | OBJS += \ 6 | ./src/llist/llist.o 7 | 8 | C_DEPS += \ 9 | ./src/llist/llist.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/llist/%.o: ../src/llist/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/lock/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/lock/lock.c 4 | 5 | OBJS += \ 6 | ./src/lock/lock.o 7 | 8 | C_DEPS += \ 9 | ./src/lock/lock.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/lock/%.o: ../src/lock/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/logger/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/logger/logger.c 4 | 5 | OBJS += \ 6 | ./src/logger/logger.o 7 | 8 | C_DEPS += \ 9 | ./src/logger/logger.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/logger/%.o: ../src/logger/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/omap/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/omap/omap.c 4 | 5 | OBJS += \ 6 | ./src/omap/omap.o 7 | 8 | C_DEPS += \ 9 | ./src/omap/omap.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/omap/%.o: ../src/omap/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/owcrypt/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/owcrypt/owcrypt.c 4 | 5 | OBJS += \ 6 | ./src/owcrypt/owcrypt.o 7 | 8 | C_DEPS += \ 9 | ./src/owcrypt/owcrypt.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/owcrypt/%.o: ../src/owcrypt/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/procinfo/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/procinfo/procinfo.c 4 | 5 | OBJS += \ 6 | ./src/procinfo/procinfo.o 7 | 8 | C_DEPS += \ 9 | ./src/procinfo/procinfo.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/procinfo/%.o: ../src/procinfo/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/qpack/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/qpack/qpack.c 4 | 5 | OBJS += \ 6 | ./src/qpack/qpack.o 7 | 8 | C_DEPS += \ 9 | ./src/qpack/qpack.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/qpack/%.o: ../src/qpack/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/qpjson/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/qpjson/qpjson.c 4 | 5 | OBJS += \ 6 | ./src/qpjson/qpjson.o 7 | 8 | C_DEPS += \ 9 | ./src/qpjson/qpjson.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/qpjson/%.o: ../src/qpjson/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/siri/args/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/args/args.c 4 | 5 | OBJS += \ 6 | ./src/siri/args/args.o 7 | 8 | C_DEPS += \ 9 | ./src/siri/args/args.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/siri/args/%.o: ../src/siri/args/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/siri/cfg/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/cfg/cfg.c 4 | 5 | OBJS += \ 6 | ./src/siri/cfg/cfg.o 7 | 8 | C_DEPS += \ 9 | ./src/siri/cfg/cfg.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/siri/cfg/%.o: ../src/siri/cfg/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/siri/file/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/file/handler.c \ 4 | ../src/siri/file/pointer.c 5 | 6 | OBJS += \ 7 | ./src/siri/file/handler.o \ 8 | ./src/siri/file/pointer.o 9 | 10 | C_DEPS += \ 11 | ./src/siri/file/handler.d \ 12 | ./src/siri/file/pointer.d 13 | 14 | 15 | # Each subdirectory must supply rules for building sources it contributes 16 | src/siri/file/%.o: ../src/siri/file/%.c 17 | @echo 'Building file: $<' 18 | @echo 'Invoking: GCC C Compiler' 19 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 20 | @echo 'Finished building: $<' 21 | @echo ' ' 22 | 23 | 24 | -------------------------------------------------------------------------------- /Release/src/siri/grammar/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/grammar/grammar.c 4 | 5 | OBJS += \ 6 | ./src/siri/grammar/grammar.o 7 | 8 | C_DEPS += \ 9 | ./src/siri/grammar/grammar.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/siri/grammar/%.o: ../src/siri/grammar/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/siri/help/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/help/help.c 4 | 5 | OBJS += \ 6 | ./src/siri/help/help.o 7 | 8 | C_DEPS += \ 9 | ./src/siri/help/help.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/siri/help/%.o: ../src/siri/help/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/siri/net/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/net/bserver.c \ 4 | ../src/siri/net/clserver.c \ 5 | ../src/siri/net/pkg.c \ 6 | ../src/siri/net/promise.c \ 7 | ../src/siri/net/promises.c \ 8 | ../src/siri/net/protocol.c \ 9 | ../src/siri/net/stream.c \ 10 | ../src/siri/net/tcp.c \ 11 | ../src/siri/net/pipe.c 12 | 13 | OBJS += \ 14 | ./src/siri/net/bserver.o \ 15 | ./src/siri/net/clserver.o \ 16 | ./src/siri/net/pkg.o \ 17 | ./src/siri/net/promise.o \ 18 | ./src/siri/net/promises.o \ 19 | ./src/siri/net/protocol.o \ 20 | ./src/siri/net/stream.o \ 21 | ./src/siri/net/tcp.o \ 22 | ./src/siri/net/pipe.o 23 | 24 | C_DEPS += \ 25 | ./src/siri/net/bserver.d \ 26 | ./src/siri/net/clserver.d \ 27 | ./src/siri/net/pkg.d \ 28 | ./src/siri/net/promise.d \ 29 | ./src/siri/net/promises.d \ 30 | ./src/siri/net/protocol.d \ 31 | ./src/siri/net/stream.d \ 32 | ./src/siri/net/tcp.d \ 33 | ./src/siri/net/pipe.d 34 | 35 | 36 | # Each subdirectory must supply rules for building sources it contributes 37 | src/siri/net/%.o: ../src/siri/net/%.c 38 | @echo 'Building file: $<' 39 | @echo 'Invoking: GCC C Compiler' 40 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 41 | @echo 'Finished building: $<' 42 | @echo ' ' 43 | -------------------------------------------------------------------------------- /Release/src/siri/service/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/service/account.c \ 4 | ../src/siri/service/client.c \ 5 | ../src/siri/service/request.c 6 | 7 | OBJS += \ 8 | ./src/siri/service/account.o \ 9 | ./src/siri/service/client.o \ 10 | ./src/siri/service/request.o 11 | 12 | C_DEPS += \ 13 | ./src/siri/service/account.d \ 14 | ./src/siri/service/client.d \ 15 | ./src/siri/service/request.d 16 | 17 | 18 | # Each subdirectory must supply rules for building sources it contributes 19 | src/siri/args/%.o: ../src/siri/args/%.c 20 | @echo 'Building file: $<' 21 | @echo 'Invoking: GCC C Compiler' 22 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 23 | @echo 'Finished building: $<' 24 | @echo ' ' 25 | 26 | 27 | -------------------------------------------------------------------------------- /Release/src/siri/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/siri/api.c \ 4 | ../src/siri/async.c \ 5 | ../src/siri/backup.c \ 6 | ../src/siri/buffersync.c \ 7 | ../src/siri/err.c \ 8 | ../src/siri/evars.c \ 9 | ../src/siri/health.c \ 10 | ../src/siri/heartbeat.c \ 11 | ../src/siri/optimize.c \ 12 | ../src/siri/siri.c \ 13 | ../src/siri/version.c 14 | 15 | OBJS += \ 16 | ./src/siri/api.o \ 17 | ./src/siri/async.o \ 18 | ./src/siri/backup.o \ 19 | ./src/siri/buffersync.o \ 20 | ./src/siri/err.o \ 21 | ./src/siri/evars.o \ 22 | ./src/siri/health.o \ 23 | ./src/siri/heartbeat.o \ 24 | ./src/siri/optimize.o \ 25 | ./src/siri/siri.o \ 26 | ./src/siri/version.o 27 | 28 | C_DEPS += \ 29 | ./src/siri/api.d \ 30 | ./src/siri/async.d \ 31 | ./src/siri/backup.d \ 32 | ./src/siri/buffersync.d \ 33 | ./src/siri/err.d \ 34 | ./src/siri/evars.d \ 35 | ./src/siri/health.d \ 36 | ./src/siri/heartbeat.d \ 37 | ./src/siri/optimize.d \ 38 | ./src/siri/siri.d \ 39 | ./src/siri/version.d 40 | 41 | 42 | # Each subdirectory must supply rules for building sources it contributes 43 | src/siri/%.o: ../src/siri/%.c 44 | @echo 'Building file: $<' 45 | @echo 'Invoking: GCC C Compiler' 46 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 47 | @echo 'Finished building: $<' 48 | @echo ' ' 49 | 50 | 51 | -------------------------------------------------------------------------------- /Release/src/timeit/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/timeit/timeit.c 4 | 5 | OBJS += \ 6 | ./src/timeit/timeit.o 7 | 8 | C_DEPS += \ 9 | ./src/timeit/timeit.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/timeit/%.o: ../src/timeit/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/vec/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/vec/vec.c 4 | 5 | OBJS += \ 6 | ./src/vec/vec.o 7 | 8 | C_DEPS += \ 9 | ./src/vec/vec.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/vec/%.o: ../src/vec/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/xmath/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/xmath/xmath.c 4 | 5 | OBJS += \ 6 | ./src/xmath/xmath.o 7 | 8 | C_DEPS += \ 9 | ./src/xmath/xmath.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/xmath/%.o: ../src/xmath/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/xpath/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/xpath/xpath.c 4 | 5 | OBJS += \ 6 | ./src/xpath/xpath.o 7 | 8 | C_DEPS += \ 9 | ./src/xpath/xpath.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/xpath/%.o: ../src/xpath/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/src/xstr/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../src/xstr/xstr.c 4 | 5 | OBJS += \ 6 | ./src/xstr/xstr.o 7 | 8 | C_DEPS += \ 9 | ./src/xstr/xstr.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | src/xstr/%.o: ../src/xstr/%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /Release/subdir.mk: -------------------------------------------------------------------------------- 1 | # Add inputs and outputs from these tool invocations to the build variables 2 | C_SRCS += \ 3 | ../main.c 4 | 5 | OBJS += \ 6 | ./main.o 7 | 8 | C_DEPS += \ 9 | ./main.d 10 | 11 | 12 | # Each subdirectory must supply rules for building sources it contributes 13 | %.o: ../%.c 14 | @echo 'Building file: $<' 15 | @echo 'Invoking: GCC C Compiler' 16 | $(CC) -DNDEBUG -I../include -O3 -Wall -Wextra $(CPPFLAGS) $(CFLAGS) -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"$(@)" -o "$@" "$<" 17 | @echo 'Finished building: $<' 18 | @echo ' ' 19 | 20 | 21 | -------------------------------------------------------------------------------- /debian/clean: -------------------------------------------------------------------------------- 1 | Release/siridb-server.1 2 | -------------------------------------------------------------------------------- /debian/compat: -------------------------------------------------------------------------------- 1 | 11 2 | -------------------------------------------------------------------------------- /debian/control: -------------------------------------------------------------------------------- 1 | Source: siridb-server 2 | Section: database 3 | Priority: optional 4 | Maintainer: SiriDB Maintainers 5 | Uploaders: 6 | Jeroen van der Heijden , 7 | Paul Gevers , 8 | Rules-Requires-Root: no 9 | Build-Depends: 10 | debhelper (>= 11~), 11 | help2man, 12 | libcleri-dev, 13 | libpcre2-dev, 14 | libuv1-dev, 15 | uuid-dev, 16 | Homepage: https://siridb.net/ 17 | Vcs-Browser: https://salsa.debian.org/siridb-team/siridb-server 18 | Vcs-Git: https://salsa.debian.org/siridb-team/siridb-server.git 19 | Standards-Version: 4.1.3 20 | 21 | Package: siridb-server 22 | Architecture: any 23 | Depends: 24 | ucf, 25 | ${misc:Depends}, 26 | ${shlibs:Depends}, 27 | libuv1 (>= 1.8.0), 28 | libcleri0 (>= 0.9.3), 29 | Description: SiriDB time series database server 30 | SiriDB is a scalable, robust and fast time series database. Build from the 31 | ground up SiriDB uses a mechanism to operate without a global index and allows 32 | server resources to be added on the fly. SiriDB's query language includes 33 | dynamic grouping of time series for easy analysis over large amounts of time 34 | series. 35 | -------------------------------------------------------------------------------- /debian/copyright: -------------------------------------------------------------------------------- 1 | Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 2 | 3 | Files: * 4 | Copyright: 2016-2022, Cesbit 5 | License: Expat 6 | 7 | Files: debian/* 8 | Copyright: 2017-2018 Paul Gevers 9 | License: Expat 10 | 11 | License: Expat 12 | The MIT License 13 | . 14 | Permission is hereby granted, free of charge, to any person 15 | obtaining a copy of this software and associated 16 | documentation files (the "Software"), to deal in the Software 17 | without restriction, including without limitation the rights to 18 | use, copy, modify, merge, publish, distribute, sublicense, 19 | and/or sell copies of the Software, and to permit persons to 20 | whom the Software is furnished to do so, subject to the 21 | following conditions: 22 | . 23 | The above copyright notice and this permission notice shall 24 | be included in all copies or substantial portions of the 25 | Software. 26 | . 27 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT 28 | WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, 29 | INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 30 | MERCHANTABILITY, FITNESS FOR A PARTICULAR 31 | PURPOSE AND NONINFRINGEMENT. IN NO EVENT 32 | SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 33 | LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 34 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 35 | TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 36 | CONNECTION WITH THE SOFTWARE OR THE USE OR 37 | OTHER DEALINGS IN THE SOFTWARE. 38 | -------------------------------------------------------------------------------- /debian/dirs: -------------------------------------------------------------------------------- 1 | etc/siridb 2 | var/lib/siridb 3 | -------------------------------------------------------------------------------- /debian/docs: -------------------------------------------------------------------------------- 1 | README.md 2 | docs/* 3 | -------------------------------------------------------------------------------- /debian/install: -------------------------------------------------------------------------------- 1 | Release/siridb-server usr/lib/siridb-server 2 | help usr/share/siridb-server 3 | siridb.conf usr/share/siridb-server/conf_templates 4 | -------------------------------------------------------------------------------- /debian/links: -------------------------------------------------------------------------------- 1 | usr/lib/siridb-server/siridb-server usr/bin/siridb-server 2 | usr/share/siridb-server/help usr/lib/siridb-server/help 3 | usr/share/siridb-server/help usr/share/doc/siridb-server/help 4 | -------------------------------------------------------------------------------- /debian/manpages: -------------------------------------------------------------------------------- 1 | Release/siridb-server.1 2 | -------------------------------------------------------------------------------- /debian/postinst: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | ucf --debconf-ok /usr/share/siridb-server/conf_templates/siridb.conf /etc/siridb/siridb.conf 5 | ucfr siridb-server /etc/siridb/siridb.conf 6 | 7 | #DEBHELPER# 8 | exit 0 9 | -------------------------------------------------------------------------------- /debian/postrm: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | config_file=/etc/siridb/siridb.conf 5 | 6 | case "$1" in 7 | purge) 8 | [ -d "/var/lib/siridb" ] && rm -rf /var/lib/siridb 9 | if which ucf >/dev/null 2>&1; then 10 | ucf --purge $config_file 11 | fi 12 | if [ -x "`which ucfr 2>/dev/null`" ]; then 13 | ucfr --purge siridb-server $config_file 14 | fi 15 | for ext in .ucf-new .ucf-old .ucf-dist ""; do 16 | rm -f "$config_file$ext" 17 | done 18 | ;; 19 | remove) 20 | ;; 21 | esac 22 | 23 | #DEBHELPER# 24 | exit 0 25 | -------------------------------------------------------------------------------- /debian/rules: -------------------------------------------------------------------------------- 1 | #!/usr/bin/make -f 2 | 3 | export DEB_BUILD_MAINT_OPTIONS=hardening=+all 4 | 5 | %: 6 | dh $@ 7 | 8 | override_dh_auto_build-arch: 9 | dh_auto_build --sourcedirectory=Release 10 | help2man -N -n"time series database server" Release/siridb-server > Release/siridb-server.1 11 | 12 | override_dh_auto_clean: 13 | $(MAKE) --directory=Release clean 14 | dh_auto_clean 15 | -------------------------------------------------------------------------------- /debian/siridb-server.service: -------------------------------------------------------------------------------- 1 | [Unit] 2 | Description=SiriDB Server 3 | After=network.target 4 | 5 | [Service] 6 | ExecStart=/usr/bin/siridb-server --config /etc/siridb/siridb.conf --log-level warning 7 | StandardOutput=journal 8 | LimitNOFILE=65535 9 | TimeoutStartSec=10 10 | TimeoutStopSec=300 11 | 12 | [Install] 13 | WantedBy=multi-user.target 14 | -------------------------------------------------------------------------------- /debian/source/format: -------------------------------------------------------------------------------- 1 | 3.0 (quilt) 2 | -------------------------------------------------------------------------------- /debian/tests/control: -------------------------------------------------------------------------------- 1 | Test-Command: NOMEMTEST=1 make --directory=Release test 2 | Features: test-name=siridb-unit-tests 3 | Depends: @, @builddeps@ 4 | -------------------------------------------------------------------------------- /debian/watch: -------------------------------------------------------------------------------- 1 | version=4 2 | opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%siridb-server-$1.tar.gz%" \ 3 | https://github.com/cesbit/siridb-server/releases \ 4 | (?:.*?/)?v?(\d[\d.]*)\.tar\.gz 5 | -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM amd64/alpine:3.13 2 | RUN apk update && \ 3 | apk upgrade && \ 4 | apk add gcc make libuv-dev musl-dev pcre2-dev yajl-dev util-linux-dev linux-headers git && \ 5 | git clone https://github.com/cesbit/libcleri.git /tmp/libcleri && \ 6 | cd /tmp/libcleri/Release && \ 7 | make all && \ 8 | make install && \ 9 | git clone https://github.com/SiriDB/siridb-server.git /tmp/siridb-server && \ 10 | cd /tmp/siridb-server/Release && \ 11 | make clean && \ 12 | make 13 | 14 | FROM amd64/alpine:3.12.4 15 | RUN apk update && \ 16 | apk add pcre2 libuv libuuid yajl && \ 17 | mkdir -p /etc/siridb && \ 18 | mkdir -p /var/lib/siridb 19 | COPY --from=0 /tmp/siridb-server/Release/siridb-server /usr/local/bin/ 20 | COPY --from=0 /usr/lib/libcleri* /usr/lib/ 21 | 22 | # Data 23 | VOLUME ["/var/lib/siridb/"] 24 | # Client (Socket) connections 25 | EXPOSE 9000 26 | # Server (Socket) connections 27 | EXPOSE 9010 28 | # Client (HTTP) connections 29 | EXPOSE 9080 30 | # Status connection 31 | EXPOSE 8080 32 | 33 | # Overwrite default configuration parameters 34 | ENV SIRIDB_BIND_SERVER_ADDRESS 0.0.0.0 35 | ENV SIRIDB_BIND_CLIENT_ADDRESS 0.0.0.0 36 | ENV SIRIDB_HTTP_API_PORT 9080 37 | ENV SIRIDB_HTTP_STATUS_PORT 8080 38 | ENV SIRIDB_ENABLE_SHARD_COMPRESSION 1 39 | ENV SIRIDB_ENABLE_SHARD_AUTO_DURATION 1 40 | ENV SIRIDB_BUFFER_SYNC_INTERVAL 500 41 | 42 | ENTRYPOINT ["/usr/local/bin/siridb-server"] 43 | -------------------------------------------------------------------------------- /docs/Kubernetes/README.md: -------------------------------------------------------------------------------- 1 | # Running SiriDB in Kubernetes 2 | 3 | This folder contains a Service, StatefulSet and a PodDisruptionBudget definition which can be used as example configuration 4 | for running SiriDB in Kubernetes. 5 | 6 | -------------------------------------------------------------------------------- /docs/Kubernetes/pdb.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: policy/v1beta1 2 | kind: PodDisruptionBudget 3 | metadata: 4 | name: siridb-pdb 5 | spec: 6 | maxUnavailable: 1 7 | selector: 8 | matchLabels: 9 | app: siridb 10 | -------------------------------------------------------------------------------- /docs/Kubernetes/service.yaml: -------------------------------------------------------------------------------- 1 | apiVersion: v1 2 | kind: Service 3 | metadata: 4 | labels: 5 | app: siridb 6 | name: siridb 7 | spec: 8 | clusterIP: None 9 | publishNotReadyAddresses: true 10 | ports: 11 | - name: status 12 | port: 8080 13 | - name: client 14 | port: 9000 15 | - name: http 16 | port: 9080 17 | - name: server 18 | port: 9010 19 | selector: 20 | app: siridb -------------------------------------------------------------------------------- /grammar/siridbhelp.py: -------------------------------------------------------------------------------- 1 | '''Help module. 2 | 3 | Build help structure for SiriDB grammar. 4 | 5 | :copyright: 2016, Jeroen van der Heijden (Cesbit) 6 | ''' 7 | 8 | import os 9 | import re 10 | import sys 11 | 12 | # 13 | # Created with ls -A1 14 | # 15 | help_files = [f[:-3] for f in os.listdir('../help') if f.endswith('.md')] 16 | help_files.sort() 17 | 18 | def _build_structure(help_files): 19 | '''Return a tree structure for the help files.''' 20 | _structure = {} 21 | 22 | def _walk(d, keys, i): 23 | i += 1 24 | k = tuple(keys[:i]) 25 | if k not in d: 26 | d[k] = {} 27 | if i < len(keys): 28 | _walk(d[k], keys, i) 29 | for help_file in help_files: 30 | _walk(_structure, help_file.split('_'), 0) 31 | return _structure 32 | 33 | 34 | help_structure = _build_structure(help_files) 35 | 36 | 37 | if __name__ == '__main__': 38 | print(help_structure) -------------------------------------------------------------------------------- /help/help_access.md: -------------------------------------------------------------------------------- 1 | Access 2 | ------ 3 | SiriDB knows the following access rights: 4 | 5 | * select 6 | * show 7 | * list 8 | * count 9 | * create 10 | * insert 11 | * drop 12 | * alter 13 | * grant 14 | * revoke 15 | 16 | The most obvious ones are combined into access profiles which can be used to grant 17 | or revoke multiple access rights at once. 18 | 19 | * read: (select, show, list and count) 20 | * write: *read* + (create and insert) 21 | * modify: *write* + (drop and alter) 22 | * full: *modify* + (grant, revoke) 23 | 24 | >**Warning** 25 | > 26 | >Changes to access rights are active immediately, so be careful when revoking 27 | >access rights from users. 28 | -------------------------------------------------------------------------------- /help/help_alter.md: -------------------------------------------------------------------------------- 1 | alter 2 | ===== 3 | 4 | Syntax 5 | 6 | alter