author | Sebastian Harl <sh@tokkee.org> | |
Thu, 9 Jan 2014 06:47:46 +0000 (07:47 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Thu, 9 Jan 2014 06:47:46 +0000 (07:47 +0100) | ||
commit | a006a526f16e790dbeae6ef96ed61f506310b66f | |
tree | 2e0db7f90989fb3fe2b8d3f7546670d2c320deb3 | tree | snapshot |
parent | bc2e98d50f275471345c749e4d951a309a7f14a7 | commit | diff |
sysdb: Implemented input scanner and simple command handling.
Reused the frontend parser lexer to identify single queries (terminated by
semicolon). No other parsing of the command is done by the client to make the
frontend the ultimate truth in regard to the parser (including simple stuff
like comments).
The query is then sent to the daemon and the reply will be printed to the
standard output channel.
Reused the frontend parser lexer to identify single queries (terminated by
semicolon). No other parsing of the command is done by the client to make the
frontend the ultimate truth in regard to the parser (including simple stuff
like comments).
The query is then sent to the daemon and the reply will be printed to the
standard output channel.
src/Makefile.am | diff | blob | history | |
src/tools/sysdb/command.c | [new file with mode: 0644] | blob |
src/tools/sysdb/command.h | [new file with mode: 0644] | blob |
src/tools/sysdb/input.c | diff | blob | history | |
src/tools/sysdb/input.h | diff | blob | history | |
src/tools/sysdb/main.c | diff | blob | history | |
src/tools/sysdb/scanner.l | diff | blob | history |