R
ranjeet.gupta
Dear All
Please go through the below data structure and please
let me know what it is exactly doing ? I am not able to understand
as there are the fuction pointers used inside it which is taking
the structure as the agrument, is this a sort of link list ?
typedef struct
{
char *Data;
char *Parent;
int Size;
int_err (*Open) (struct_ObjectRecord *Self,
const char *Filename);
int_err (*close)(struct_ObjectRecord *Self);
int_err (*destroy)(struct_ObjectRecord *Self);
int_err (*YourFile)(struct_ObjectRecord *self,
const char *filename,
int *outFile);
} struct_ObjectRecord;
Regards
Ranjeet
Please go through the below data structure and please
let me know what it is exactly doing ? I am not able to understand
as there are the fuction pointers used inside it which is taking
the structure as the agrument, is this a sort of link list ?
typedef struct
{
char *Data;
char *Parent;
int Size;
int_err (*Open) (struct_ObjectRecord *Self,
const char *Filename);
int_err (*close)(struct_ObjectRecord *Self);
int_err (*destroy)(struct_ObjectRecord *Self);
int_err (*YourFile)(struct_ObjectRecord *self,
const char *filename,
int *outFile);
} struct_ObjectRecord;
Regards
Ranjeet