Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| From | jacob navia <jacob@spamsink.net> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Representing a hierarchical file system |
| Date | 2011-08-15 12:24 +0200 |
| Organization | lccwin |
| Message-ID | <j2as5n$4gl$1@speranza.aioe.org> (permalink) |
Hi
Within the context of the containers library I would like to be able to
represent a file system, i.e. directories and files within a tree
structure.
Has this problem been solved in a public available way?
Are there any known implementations?
For instance:
typedef struct tagFile{
char *Name;
size_t size;
FileTime last_save;
} file;
typedef struct tagDirectory {
char *Name;
size_t NumberOfChildren;
struct tagDirectory **Subdirs;
size_t NumberOfFiles;
file **Files;
}Directory;
This is of course incomplete. Are there any available
implementations of such a data structure?
Back to comp.lang.c | Previous | Next — Next in thread | Find similar | Unroll thread
Representing a hierarchical file system jacob navia <jacob@spamsink.net> - 2011-08-15 12:24 +0200
Re: Representing a hierarchical file system Ian Collins <ian-news@hotmail.com> - 2011-08-15 22:36 +1200
Re: Representing a hierarchical file system jacob navia <jacob@spamsink.net> - 2011-08-15 19:43 +0200
Re: Representing a hierarchical file system Keith Thompson <kst-u@mib.org> - 2011-08-15 09:23 -0700
Re: Representing a hierarchical file system David Thompson <dave.thompson2@verizon.net> - 2011-08-21 03:22 -0400
Re: Representing a hierarchical file system Nobody <nobody@nowhere.com> - 2011-08-15 18:02 +0100
Re: Representing a hierarchical file system jacob navia <jacob@spamsink.net> - 2011-08-15 19:44 +0200
Re: Representing a hierarchical file system China Blue Tip Wrench <chine.bleu@yahoo.com> - 2011-08-15 10:35 -0700
Re: Representing a hierarchical file system jacob navia <jacob@spamsink.net> - 2011-08-15 19:46 +0200
Re: Representing a hierarchical file system "Heinrich Wolf" <invalid@invalid.invalid> - 2011-08-15 20:31 +0200
Re: Representing a hierarchical file system Ian Collins <ian-news@hotmail.com> - 2011-08-16 08:32 +1200
Re: Representing a hierarchical file system Nobody <nobody@nowhere.com> - 2011-08-16 11:45 +0100
Re: Representing a hierarchical file system BGB <cr88192@hotmail.com> - 2011-08-16 04:00 -0700
csiph-web