some header files to be R5 compatible

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1617 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper
2002-10-23 13:54:44 +00:00
parent 16fe4511e7
commit d734a8ce5a
39 changed files with 4652 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
/***************************************************************************
//
// File: Alias.h
//
// Description: path->alias->path functions
//
// Copyright 1992-98, Be Incorporated, All Rights Reserved.
//
***************************************************************************/
#ifndef _ALIAS_H
#define _ALIAS_H
#ifndef _BE_BUILD_H
#include <BeBuild.h>
#endif
#include <SupportDefs.h>
class BPath;
class BDataIO;
_IMPEXP_BE status_t resolve_link(const char *path, BPath *result,
bool block = false);
_IMPEXP_BE status_t write_alias(const char *path, BDataIO *s,
size_t *len = NULL);
_IMPEXP_BE status_t write_alias(const char *path, void *buf, size_t *len);
_IMPEXP_BE status_t read_alias(BDataIO *s, BPath *result, size_t *len = NULL,
bool block = false);
_IMPEXP_BE status_t read_alias(const void *buf, BPath *result, size_t *len,
bool block = false);
#endif