shmem_s
304
Netscape Enterprise Server NSAPI Programmer’s Guide • November 2001
The elements that are most significant for server plug-in API activities are
st_size
,
st_atime
,
st_mtime
, and
st_ctime
.
shmem_s
cinfo
The
cinfo
data structure records the content information for a file.
struct stat {
dev_t
st_dev;
/* device of inode */
inot_t
st_ino;
/* inode number */
short
st_mode;
/* mode bits */
short
st_nlink;
/* number of links to file /*
short
st_uid;
/* owner’s user id */
short
st_gid;
/* owner’s group id */
dev_t
st_rdev;
/* for special files */
off_t
st_size;
/* file size in characters */
time_t
st_atime;
/* time last accessed */
time_t
st_mtime;
/* time last modified */
time_t
st_ctime;
/* time inode last changed*/
}
typedef struct {
void
*data;
/* the data */
HANDLE
fdmap;
int
size;
/* the maximum length of the data */
char
*name;
/* internal use: filename to unlink if
exposed */
SYS_FILE
fd;
/* internal use: file descriptor for
region */
} shmem_s;
Summary of Contents for ENTERPRISE SERVER 6.0
Page 1: ...NSAPI Programmer s Guide Netscape Enterprise Server Version6 0 November 2001...
Page 134: ...CGI to NSAPI Conversion 134 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 306: ...cinfo 306 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 312: ...Sample MIME Types File 312 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 324: ...Buffered Streams 324 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 332: ...332 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 340: ...340 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 346: ...346 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...
Page 352: ...352 Netscape Enterprise Server NSAPI Programmer s Guide November 2001...