C implementation initial draft. FaceCommonLib implemented in C. Json lib moved to new library
Init and Deinit frok agent functions implemented
Added critical section for context - based operations + Code refactoring for FrokAgent
Implementation for frokAgent(Start/Stop) added and tested
Added traces to frok agent and infinite loop with accepting connections to socket listener. Frok agent can be correctly terminated by SIGINT signal now
Added possibility to terminate frokagent while it is in waiting for data state.
Receiving data code written and tested. All incoming data from same socket is appended to previosly received one. So there is no MAX_BUFFER_SIZE problem now. Only limit is sizeof your heap
frok agend parses incoming jsons (valid json is message that begins with "{ , ends with }" and number of { and } is equal). Multiple requests in one message (such as "{json1:123}""{json2:123}") are being handled consistently
Json doesn't have to contain " symbols in start and end of msg now.
Added C language work-around for FrokAPI class (C functions by extern "C"{} macro)
Agent is getting error on getFunctionFromJson function atm
Added c-style allocators for FrokFaceDetector and recognizer. API function can now be called from c - code
Added become daemon function. Updated lib common init and deinit scenarios
Added getFilesFromDir "c - style" implementation. FrokAPI functions work via c-style agent now
FrokAgent is a daemon now. Fixed some invalid traces
You can specify core that agent will obtain. You can now launch multiple agents (1 per each core). To run multiple agents launch app with cpunumber = -1. Added possibility.
Agent is launched in Daemon mode now.
Added possibility of loggint to /var/log/frok.log in release mode.
Added initial draft for config file (/etc/frok/frok.conf) parsing
No error check after obtaining CPU fixed
Common lib major refactoring
All user models are laoded automatically on start-up.
Daemon mode can now be switched off (for example for debug etc) by setting NO_DAEMON flag (add CCFLAG+=-DNO_DAEMON to build command)
Removed frok server app (I think it should be implemented using JAVA)
Merge pull request #12 from dmedov/dev_linux

New cool features in frokAgent (it's written in C now, wow!).
In release mode all logs are redirected to /var/log/frok.log
If no "NO_DAEMON" flag is specified application launches in daemon mode (no user dependancy). To stop daemon type somethink like sudo killall FrokAgentApp (or just specify pid)
Input parameters are CPU number and port number (example ./FrokAgentApp 3 27015 will start frokagentapp with portnumber 27015 on CPU number 3)