X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=lib%2Fobject.h;h=9b79f482e18ba48d2c02804fb0b955c5efb999f2;hb=a010e5f6e075097c0d6362d40fb49e812e99e185;hp=7ec9965855bb571542d2fb2ce6c1681bba21921b;hpb=b064aea583d8b5ba5a8f4c43ece577eb53ddbcec;p=libucw.git diff --git a/lib/object.h b/lib/object.h index 7ec99658..9b79f482 100644 --- a/lib/object.h +++ b/lib/object.h @@ -30,10 +30,6 @@ struct oattr { /* Object attribute */ void obj_dump(struct odes *); struct odes *obj_new(struct mempool *); -int obj_read(struct fastbuf *, struct odes *); -void obj_read_multi(struct fastbuf *, struct odes *); -void obj_write(struct fastbuf *, struct odes *); -void obj_write_nocheck(struct fastbuf *, struct odes *); struct oattr *obj_find_attr(struct odes *, uns); struct oattr *obj_find_attr_last(struct odes *, uns); uns obj_del_attr(struct odes *, struct oattr *); @@ -63,6 +59,9 @@ struct odes *obj_read_bucket(struct buck2obj_buf *buf, struct mempool *pool, uns * However, no such things are performed when reading the header only. */ +int obj_read(struct fastbuf *, struct odes *); +void obj_read_multi(struct fastbuf *, struct odes *); + /* obj2buck.c: Generating buckets from objects */ void attr_set_type(uns type); @@ -79,4 +78,7 @@ void bput_attr_vformat(struct fastbuf *b, uns type, byte *mask, va_list va); void bput_attr_format(struct fastbuf *b, uns type, char *mask, ...) __attribute__((format(printf,3,4))); void bput_attr_num(struct fastbuf *b, uns type, uns val); +void obj_write(struct fastbuf *, struct odes *); +void obj_write_nocheck(struct fastbuf *, struct odes *); + #endif