| GSF Reference Manual |
|---|
Infile reading structed filesInfile reading structed files — |
GsfInfile;
int gsf_infile_num_children (GsfInfile *infile);
GsfInput* gsf_infile_child_by_index (GsfInfile *infile,
int i);
GsfInput* gsf_infile_child_by_name (GsfInfile *infile,
char const *name);
GsfInput* gsf_infile_child_by_vname (GsfInfile *infile,
char const *name,
...);
GObject +----GsfInput +----GsfInfile +----GsfInfileMSOle +----GsfInfileStdio +----GsfInfileZip +----GsfStructuredBlob
int gsf_infile_num_children (GsfInfile *infile);
| infile : | the structured storage |
| Returns : | the number of children the storage has, or -1 if the storage can not have children. |
GsfInput* gsf_infile_child_by_index (GsfInfile *infile, int i);
TODO : For 2.0 api will change to include a GError.
| infile : | |
| i : | |
| Returns : | a newly created child which must be unrefed. |
GsfInput* gsf_infile_child_by_name (GsfInfile *infile, char const *name);
TODO : For 2.0 api will change to include a GError.
| infile : | |
| name : | |
| Returns : | a newly created child which must be unrefed. |
| << Stream Sources | Outfile writing structed files >> |