]> mj.ucw.cz Git - libucw.git/blobdiff - lib/object.h
I decided to turn off cf/url-equiv for indexation. however, after the indexer
[libucw.git] / lib / object.h
index 01da6ab9e8aa1749fea578d54a6d717558343f5b..99ff28263164aaa96b3eb6e3fc4b4698c03906bf 100644 (file)
@@ -10,6 +10,8 @@
 #ifndef _SHERLOCK_OBJECT_H
 #define _SHERLOCK_OBJECT_H
 
+#define MAX_ATTR_SIZE 1024             /* Maximum length an attribute can ever have (including name and trailing 0) */
+
 struct fastbuf;
 
 struct odes {                          /* Object description */
@@ -38,5 +40,7 @@ struct oattr *obj_set_attr_num(struct odes *, uns, uns);
 struct oattr *obj_add_attr(struct odes *, uns, byte *);
 struct oattr *obj_prepend_attr(struct odes *, uns, byte *);
 struct oattr *obj_insert_attr(struct odes *o, struct oattr *first, struct oattr *after, byte *v);
+void obj_move_attr_to_head(struct odes *o, uns);
+void obj_move_attr_to_tail(struct odes *o, uns);
 
 #endif