Data Structure



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

.



Relevant Pages

  • Trouble finding length of structure object in VB 2005
    ... data structure that defines an object containing a number of fixed length ... Public DateEnteredAs Char ... Then I define an object as a DataRecord: ... Dim MyRecord as DataRecord ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Nesting classes
    ... a data structure nested inside other data structure. ... char a; ... public String a1; ... This gets compiled but what i see is n no. of .java files get generated ...
    (comp.lang.java.programmer)
  • Re: Nesting classes
    ... a data structure nested inside other data structure. ... char a; ... public String a1; ... This gets compiled but what i see is n no. of .java files get generated ...
    (comp.lang.java.programmer)
  • Nesting classes
    ... a data structure nested inside other data structure. ... char a; ... public String a1; ... This gets compiled but what i see is n no. of .java files get generated ...
    (comp.lang.java.programmer)
  • Re: equal and not equal
    ... I bet you have a pointer to a data structure and want to use = or /= on ... the content (and not on the pointer itself). ... -- All char of A.all are set to space ... Prev by Date: ...
    (comp.lang.ada)

Loading