Thread: [Libsysio-commit] cplant: libsysio/include cplant-yod.h
Brought to you by:
lward
From: Ruth K. <rk...@us...> - 2003-05-01 22:53:56
|
Update of /cvsroot/libsysio/libsysio/include In directory sc8-pr-cvs1:/tmp/cvs-serv29892 Added Files: Tag: cplant cplant-yod.h Log Message: add cplant yod function definitions --- NEW FILE --- /* * This Cplant(TM) source code is the property of Sandia National * Laboratories. * * This Cplant(TM) source code is copyrighted by Sandia National * Laboratories. * * The redistribution of this Cplant(TM) source code is subject to the * terms of the GNU Lesser General Public License * (see cit/LGPL or http://www.gnu.org/licenses/lgpl.html) * * Cplant(TM) Copyright 1998-2003 Sandia Corporation. * Under the terms of Contract DE-AC04-94AL85000, there is a non-exclusive * license for use of this work by or on behalf of the US Government. * Export of this program may require a license from the United States * Government. */ /* * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Questions or comments about this library should be sent to: * * Lee Ward * Sandia National Laboratories, New Mexico * P.O. Box 5800 * Albuquerque, NM 87185-1110 * * le...@sa... */ /* * cplant yod I/O functions */ int chmod_yod(const char* path, mode_t); int chown_yod(const char* path, uid_t, gid_t); int stat_yod(const char *path, struct stat *sbuf); int fstat_yod(int fd, struct stat *buf); int statfs_yod(const char *path, struct statfs *sbuf); int fstatfs_yod(int fd, struct statfs *buf); int mkdir_yod(const char *path, mode_t mode); int rmdir_yod(const char *path); int getdirentries_yod(int fd, char *buf, size_t nbytes, loff_t *basep); int link_yod(const char *path1, const char *path2); int unlink_yod(const char *path); int symlink_yod(const char *path1, const char *path2 ); int open_yod(const char *fname, int flags, mode_t mode); int close_yod(int); ssize_t write_yod(int fd, const void *buff, size_t nbytes); ssize_t read_yod(int fd, void *buff, size_t nbytes); int fsync_yod(int fd); int truncate_yod(const char *path, off_t length); int ftruncate_yod(int fd, long length); off_t lseek_yod(int fd, off_t offset, int whence); |
From: Ruth K. <rk...@us...> - 2003-06-12 23:58:47
|
Update of /cvsroot/libsysio/libsysio/include In directory sc8-pr-cvs1:/tmp/cvs-serv16317 Modified Files: Tag: cplant cplant-yod.h Log Message: no portals include - specify these here Index: cplant-yod.h =================================================================== RCS file: /cvsroot/libsysio/libsysio/include/Attic/cplant-yod.h,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -w -b -B -p -r1.1.2.1 -r1.1.2.2 --- cplant-yod.h 1 May 2003 22:53:52 -0000 1.1.2.1 +++ cplant-yod.h 12 Jun 2003 23:58:44 -0000 1.1.2.2 @@ -44,25 +44,23 @@ /* * cplant yod I/O functions */ - -int chmod_yod(const char* path, mode_t); -int chown_yod(const char* path, uid_t, gid_t); -int stat_yod(const char *path, struct stat *sbuf); -int fstat_yod(int fd, struct stat *buf); -int statfs_yod(const char *path, struct statfs *sbuf); -int fstatfs_yod(int fd, struct statfs *buf); -int mkdir_yod(const char *path, mode_t mode); -int rmdir_yod(const char *path); -int getdirentries_yod(int fd, char *buf, size_t nbytes, loff_t *basep); -int link_yod(const char *path1, const char *path2); -int unlink_yod(const char *path); -int symlink_yod(const char *path1, const char *path2 ); - -int open_yod(const char *fname, int flags, mode_t mode); -int close_yod(int); -ssize_t write_yod(int fd, const void *buff, size_t nbytes); -ssize_t read_yod(int fd, void *buff, size_t nbytes); -int fsync_yod(int fd); -int truncate_yod(const char *path, off_t length); -int ftruncate_yod(int fd, long length); -off_t lseek_yod(int fd, off_t offset, int whence); +extern int chmod_yod(const char* path, mode_t); +extern int chown_yod(const char* path, uid_t, gid_t); +extern int stat_yod(const char *path, struct stat *sbuf); +extern int fstat_yod(int fd, struct stat *buf); +extern int statfs_yod(const char *path, struct statfs *sbuf); +extern int fstatfs_yod(int fd, struct statfs *buf); +extern int mkdir_yod(const char *path, mode_t mode); +extern int rmdir_yod(const char *path); +extern int getdirentries_yod(int fd, char *buf, size_t nbytes, loff_t *basep); +extern int link_yod(const char *path1, const char *path2); +extern int unlink_yod(const char *path); +extern int symlink_yod(const char *path1, const char *path2 ); +extern int open_yod(const char *fname, int flags, mode_t mode); +extern int close_yod(int); +extern ssize_t write_yod(int fd, const void *buff, size_t nbytes); +extern ssize_t read_yod(int fd, void *buff, size_t nbytes); +extern int fsync_yod(int fd); +extern int truncate_yod(const char *path, off_t length); +extern int ftruncate_yod(int fd, long length); +extern off_t lseek_yod(int fd, off_t offset, int whence); |