Serj Kalichev
|
c48a485d2c
Rename KCONTEXT_ enum to KCONTEXT_TYPE_
|
2 years ago |
Serj Kalichev
|
fcf4b766ad
ktpd: Implement exit
|
2 years ago |
Serj Kalichev
|
bd6c878d57
context: Add scheme field and ustore funcs
|
2 years ago |
Serj Kalichev
|
28a9a185d9
ACTION's context contains session data
|
2 years ago |
Serj Kalichev
|
6ddb3df2f2
ktpd: Transmit retcode to client
|
3 years ago |
Serj Kalichev
|
e0b011bc69
ktpd: Process ACTION
|
3 years ago |
Serj Kalichev
|
a00e980fc0
kexec: First version of exec_action_sequence
|
3 years ago |
Serj Kalichev
|
f3dcc9d3e8
Move client_ev() to ktpd_session. Wait for action's processes within ktpd and call special function from ktpd_session
|
3 years ago |
Serj Kalichev
|
0a57d879a4
ktpd_session: Class now contain eloop object
|
3 years ago |
Serj Kalichev
|
623b33392c
ktp_session: A bit reorganize
|
3 years ago |
Serj Kalichev
|
fe207aafda
Minor changes
|
3 years ago |
Serj Kalichev
|
d42152c68b
klishd: Function to daemonize
|
3 years ago |
Serj Kalichev
|
8a9c355ee6
klishd: Get line from client
|
3 years ago |
Serj Kalichev
|
9ba0f7428b
klish: Utility can send command to daemon
|
3 years ago |
Serj Kalichev
|
767a6e6623
klishd: Fix exit status of service process
|
3 years ago |
Serj Kalichev
|
ff5535bacb
klishd: Event loop for service process. Unfinished
|
3 years ago |
Serj Kalichev
|
c3449345e3
ktpd_session contains ksession_t
|
3 years ago |
Serj Kalichev
|
ef2110770c
klishd: Begin to init service process after fork
|
3 years ago |
Serj Kalichev
|
4e2bb7ba1b
klishd: Fork process on each client connection
|
3 years ago |
Serj Kalichev
|
0d28aea6f2
entry: Remove all useless structs from tree. From ischeme and kscheme. Removed elements are view, ptype, command, param, nspace. All correspondent XML tags translate its content to kentry_t
|
3 years ago |
Serj Kalichev
|
57aedead12
parse: Completion entries are unique
|
3 years ago |
Serj Kalichev
|
c28227c898
parse: Parsing for excution and completion
|
3 years ago |
Serj Kalichev
|
6d7eeab1e0
kpargv_status_str()
|
3 years ago |
Serj Kalichev
|
e0839fe708
Find out command (where actions are)
|
3 years ago |
Serj Kalichev
|
ead67e46ec
Change prototype for ksession_parse_line()
|
3 years ago |
Serj Kalichev
|
87245f657d
Add level, status and command to kpargv_t
|
3 years ago |
Serj Kalichev
|
29baf546ba
Find commands within all path levels
|
3 years ago |
Serj Kalichev
|
0a993a504a
parse: Fix memory leak
|
3 years ago |
Serj Kalichev
|
eb4c3eee06
parse: Fix parsing of incompleted commands
|
3 years ago |
Serj Kalichev
|
86553889c8
parse: Finally analyze parse status
|
3 years ago |