alsa.audio: move handling of XRUN when writting to the slave task
[AROS.git] / rom / filesys / SFS / FS / objects_protos.h
blob00cb7cef7ed7f4b66ba17851b7f4269d5433651c
1 #ifndef _OBJECTS_PROTOS_H
2 #define _OBJECTS_PROTOS_H
4 #include <exec/types.h>
5 #include "blockstructure.h"
6 #include "cachebuffers.h"
7 #include "nodes.h"
8 #include "objects.h"
9 #include "locks.h"
11 LONG removeobject(struct CacheBuffer *cb, struct fsObject *o);
12 LONG bumpobject(struct CacheBuffer *cb, struct fsObject *o);
13 LONG renameobject(struct CacheBuffer *cb,struct fsObject *o,struct ExtFileLock *lock,UBYTE *path);
14 LONG renameobject2(struct CacheBuffer *cb, struct fsObject *o, struct CacheBuffer *cbparent, struct fsObject *oparent, UBYTE *newname, WORD sendnotify);
15 LONG deleteobject(struct ExtFileLock *lock, UBYTE *path, WORD sendnotify);
16 LONG scandir(struct CacheBuffer **io_cb, struct fsObject **io_o, UBYTE *name);
17 LONG readobject(NODE objectnode,struct CacheBuffer **returned_cb,struct fsObject **returned_object);
18 LONG readobjectquick(BLCK objectcontainer,NODE objectnode,struct CacheBuffer **returned_cb,struct fsObject **returned_object);
19 struct fsObject *findobject(struct fsObjectContainer *oc, NODE objectnode);
20 struct fsObject *nextobject(struct fsObject *o);
21 struct fsObject *prevobject(struct fsObject *o, struct fsObjectContainer *oc);
22 struct fsObject *lastobject(struct fsObjectContainer *oc);
23 WORD isobject(struct fsObject *o, struct fsObjectContainer *oc);
24 LONG findcreate(struct ExtFileLock **returned_lock,UBYTE *path,LONG packettype,UBYTE *softlink);
25 LONG setcomment(struct ExtFileLock *lock,UBYTE *path,UBYTE *comment);
26 BOOL cleanupdeletedfiles(void);
28 LONG setrecycledinfo(ULONG deletedfiles, ULONG deletedblocks);
29 LONG setrecycledinfodiff(LONG deletedfiles, LONG deletedblocks);
30 LONG getrecycledinfo(ULONG *returned_deletedfiles, ULONG *returned_deletedblocks);
32 #endif // _OBJECTS_PROTOS_H