Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Need database suport in simple embedded Environment

Status
Not open for further replies.

chethankp

Member level 4
Member level 4
Joined
Jan 4, 2010
Messages
76
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
bangalore
Activity points
1,860
I need to implment database in simple Embedded environment using normal C functions . I dont have more memory to freely implemnet all the behviour of sqllite kind of database .. I need a simple implementation which can provide key-value kind of storing/modifying for diffrent application on single Embedded Environment .. Like two Functions of my application can use the file called file.db to store and modify their data .. Can some body help ho to have a better design .. 1. One kind of data need to store

typedef struct Device
{
char Nname[20];
int type;
int ctype ;
}Network;
2. Second kind of data need to store

typedef struct Usage
{
char Nname[20];
int StartTime;
int Endtime;
int interfaceType;

}UsagePattern;
Third Kind of data need to store

typedef struct Endpoint
{
char IpaddressSrc[20];
char IpaddressDst[20];
int srcPort;
int dstPort;

}endPoint;
what kind of data base design is suggestable to store this in file using C simple function.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top