I am working on Embedded C . I am stuck with pointer structure ....
Structures are given below ..
/*structure 1*/
ZPS_tsAplApsmeBindingTableType *psAplApsmeAibBindingTable;
/*structure 2*/
typedef struct
{
ZPS_tsAplApsmeBindingTableCache* psAplApsmeBindingTableCache;
ZPS_tsAplApsmeBindingTable* psAplApsmeBindingTable;
}ZPS_tsAplApsmeBindingTableType;
/*structure3*/
typedef struct
{
uint64 u64SourceAddress;
ZPS_tsAplApsmeBindingTableEntry* pvAplApsmeBindingTableEntryForSpSrcAddr;
uint32 u32SizeOfBindingTable;
}ZPS_tsAplApsmeBindingTable;
/*structure 4*/
typedef struct
{
ZPS_tuAddress uDstAddress;
uint16 u16ClusterId;
uint8 u8DstAddrMode;
uint8 u8SourceEndpoint;
uint8 u8DestinationEndPoint;
} ZPS_tsAplApsmeBindingTableEntry;
I have declared ZPS_tsAplApsmeBindingTableType *p;
but i want to access ZPS_tsAplApsmeBindingTableEntry
structure values... How could i do that??
Can anyone tell me the difference between
ZPS_tsAplApsmeBindingTable* psAplApsmeBindingTable
and
ZPS_tsAplApsmeBindingTable *psAplApsmeBindingTable;
Thanks ....