Skip to content

Instantly share code, notes, and snippets.

@aglasgall
Created February 5, 2009 21:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aglasgall/59028 to your computer and use it in GitHub Desktop.
Save aglasgall/59028 to your computer and use it in GitHub Desktop.
typedef u32int kobject_type_t;
typedef struct acl {
} acl_t;
typedef struct kstring {
char *data;
u32int len;
} kstring_t;
typedef struct kobject {
u32int magic;
u32int refcount;
kobject_type_t type;
kstring_t *name;
acl_t *acl;
struct kobject *owner;
} kobject_t;
typedef struct kobject_dir {
kobject_t base;
kslist_t *entries;
u32int entry_len;
} kobject_dir_t;
typedef struct kobject_symlink {
kobject_t base;
kstring target_name;
} kobject_symlink_t;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment