summaryrefslogtreecommitdiffstats
path: root/ll-database-binding
AgeCommit message (Collapse)AuthorFilesLines
2017-10-25database: switch to use gdbm by defaultJosé Bollo3-92/+288
Change-Id: I25b54a6b1f66f3acef3c1c7cb96e0daaa1019eae Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: call getuid only onceJosé Bollo1-2/+3
Change-Id: I249c0b712a66016bb578f203dc62ecaf6dac2b91 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: use PATH_MAX of systemJosé Bollo1-6/+2
Change-Id: I4b6567eb738c710109a2799f31575f83f5d852d1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: simplifyJosé Bollo2-85/+20
Change-Id: I061051c5f8db1680368a2fd0089f554cd5969d73 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: fix regression bugJosé Bollo1-0/+3
Change-Id: I01722b00fc47e9b09c15e5123b8b0ef1a089c62e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: include null and improve readabilityJosé Bollo1-4/+7
Change-Id: Iecf336beb8c5187fd4ed86f7785cd6bf1170cf19 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: fix bugsJosé Bollo1-2/+2
Change-Id: I69b84976d48eaca56d6053750ab2b6445021b216 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: Handle UNKNOWN-APP!José Bollo1-0/+4
Change-Id: I850465cb233792a617ef27acf0228665e873226c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: refactor path compute of databaseJosé Bollo1-21/+39
Change-Id: I6d0f90e72d9896c1b9a2827d318e4b1296a6f47d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: remove unused variablesJosé Bollo1-2/+0
Change-Id: I20ad19d9e42ff40ac60533bc031d5c776cf42bf1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: factorize insert and replaceJosé Bollo1-47/+30
Change-Id: I55ce17f70221c3b9c62d75484d9882a136e9c261 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: generalize use of get_keyJosé Bollo1-103/+13
Change-Id: Ie3612d66271c2d298207b7580ff125bf6705bfdc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: Add get_key functionJosé Bollo1-32/+60
Change-Id: I7789734f46a58f5c3e1e7e75143869dd33f53e03 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: remove tailing tabsJosé Bollo1-51/+51
Change-Id: I76e1029dc9a4ca6002394742b058d7f1859175b3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: don't bother linker with localsJosé Bollo1-12/+12
Change-Id: Iba2c95c5bc9f7b1b0b07f98b69290ea014f82d20 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: return -1 when init failsJosé Bollo1-3/+3
Change-Id: Ica032ca1de51c8ec47eb543eda762b8ae70b2895 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: fix warningsJosé Bollo1-7/+8
Change-Id: I20f0720bbfe5420a4f411d2dbe268d1d3cdd0cc5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: remove duplited linesJosé Bollo1-4/+0
Change-Id: Ife25a2660f5f76b0e3f4eda3de2bcf86b2b997a5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24cleanup swap fileJosé Bollo1-0/+0
Change-Id: I4879ae484fbf3253081aabc5e432ab8c27ebdede
2017-10-24fix use of make event in preinitLoïc Collignon57-3722/+11
Change-Id: I3a2eb2805bdf618e3c8349776b02bbe1b7475ccc Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-10-24replaced store binding with a database binding based on a berkeley dbLoïc Collignon64-0/+4487
Change-Id: I03978ecbf996ebc6d53a88dfd2b275051080016f Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>