Removed. This is now included in <glibtop-private.h>.
1999-12-25 Martin Baulig <martin@home-of-linux.org> * safeio.h: Removed. This is now included in <glibtop-private.h>.
This commit is contained in:
committed by
Martin Baulig
parent
b9abc7c3ef
commit
e162a06a1a
@@ -1,5 +1,7 @@
|
|||||||
1999-12-25 Martin Baulig <martin@home-of-linux.org>
|
1999-12-25 Martin Baulig <martin@home-of-linux.org>
|
||||||
|
|
||||||
|
* safeio.h: Removed. This is now included in <glibtop-private.h>.
|
||||||
|
|
||||||
* netinfo.c: New file.
|
* netinfo.c: New file.
|
||||||
|
|
||||||
* glibtop_private.h: Added function prototypes for everything
|
* glibtop_private.h: Added function prototypes for everything
|
||||||
|
@@ -9,8 +9,8 @@ libgtop_sysdeps_la_SOURCES = open.c close.c siglist.c cpu.c mem.c \
|
|||||||
proclist.c procstate.c procuid.c \
|
proclist.c procstate.c procuid.c \
|
||||||
proctime.c procmem.c procsignal.c \
|
proctime.c procmem.c procsignal.c \
|
||||||
prockernel.c procsegment.c procargs.c \
|
prockernel.c procsegment.c procargs.c \
|
||||||
procmap.c netload.c ppp.c procdata.c \
|
procmap.c netload.c netinfo.c ppp.c \
|
||||||
interfaces.c
|
procdata.c interfaces.c
|
||||||
|
|
||||||
libgtop_sysdeps_la_LDFLAGS = $(LT_VERSION_INFO)
|
libgtop_sysdeps_la_LDFLAGS = $(LT_VERSION_INFO)
|
||||||
|
|
||||||
|
@@ -27,7 +27,7 @@
|
|||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#include "safeio.h"
|
#include <glibtop-private.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The differences between old and new procfs API are:
|
* The differences between old and new procfs API are:
|
||||||
|
@@ -1,48 +0,0 @@
|
|||||||
/* Copyright (C) 1999 Drazen Kacar
|
|
||||||
This file is part of LibGTop 1.0.
|
|
||||||
|
|
||||||
Contributed by Drazen Kacar <dave@srce.hr>, May 1999.
|
|
||||||
|
|
||||||
LibGTop is free software; you can redistribute it and/or modify it
|
|
||||||
under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2 of the License,
|
|
||||||
or (at your option) any later version.
|
|
||||||
|
|
||||||
LibGTop 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 General Public License
|
|
||||||
for more details.
|
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with LibGTop; see the file COPYING. If not, write to the
|
|
||||||
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
||||||
Boston, MA 02111-1307, USA.
|
|
||||||
*/
|
|
||||||
|
|
||||||
#ifndef __GLIBTOP_SAFEIO_H__
|
|
||||||
#define __GLIBTOP_SAFEIO_H__
|
|
||||||
|
|
||||||
#include <sys/types.h>
|
|
||||||
#include <sys/stat.h>
|
|
||||||
#include <dirent.h>
|
|
||||||
|
|
||||||
BEGIN_LIBGTOP_DECLS
|
|
||||||
|
|
||||||
int
|
|
||||||
s_open(const char *, int);
|
|
||||||
|
|
||||||
int
|
|
||||||
s_stat(const char *, struct stat *);
|
|
||||||
|
|
||||||
int
|
|
||||||
s_close(int);
|
|
||||||
|
|
||||||
ssize_t
|
|
||||||
s_pread(int, void *, size_t, off_t);
|
|
||||||
|
|
||||||
int
|
|
||||||
s_closedir(DIR *);
|
|
||||||
|
|
||||||
END_LIBGTOP_DECLS
|
|
||||||
|
|
||||||
#endif
|
|
Reference in New Issue
Block a user