static void prstat_to_stat(struct stat *stbuf, ProxyStat *prstat)

{

   memset(stbuf, 0, sizeof(*stbuf));

   stbuf->st_dev = prstat->st_dev;

   stbuf->st_ino = prstat->st_ino;

   stbuf->st_nlink = prstat->st_nlink;

   stbuf->st_mode = prstat->st_mode;

   stbuf->st_uid = prstat->st_uid;

   stbuf->st_gid = prstat->st_gid;

   stbuf->st_rdev = prstat->st_rdev;

   stbuf->st_size = prstat->st_size;

   stbuf->st_blksize = prstat->st_blksize;

   stbuf->st_blocks = prstat->st_blocks;

   stbuf->st_atim.tv_sec = prstat->st_atim_sec;

   stbuf->st_atim.tv_nsec = prstat->st_atim_nsec;

   stbuf->st_mtime = prstat->st_mtim_sec;

   stbuf->st_mtim.tv_nsec = prstat->st_mtim_nsec;

   stbuf->st_ctime = prstat->st_ctim_sec;

   stbuf->st_ctim.tv_nsec = prstat->st_ctim_nsec;

}

static void prstat_to_stat(struct stat *stbuf, ProxyStat *prstat)

{

   memset(stbuf, 0, sizeof(*stbuf));

   stbuf->st_dev = prstat->st_dev;

   stbuf->st_ino = prstat->st_ino;

   stbuf->st_nlink = prstat->st_nlink;

   stbuf->st_mode = prstat->st_mode;

   stbuf->st_uid = prstat->st_uid;

   stbuf->st_gid = prstat->st_gid;

   stbuf->st_rdev = prstat->st_rdev;

   stbuf->st_size = prstat->st_size;

   stbuf->st_blksize = prstat->st_blksize;

   stbuf->st_blocks = prstat->st_blocks;

   stbuf->st_atim.tv_sec = prstat->st_atim_sec;

   stbuf->st_atim.tv_nsec = prstat->st_atim_nsec;

   stbuf->st_mtime = prstat->st_mtim_sec;

   stbuf->st_mtim.tv_nsec = prstat->st_mtim_nsec;

   stbuf->st_ctime = prstat->st_ctim_sec;

   stbuf->st_ctim.tv_nsec = prstat->st_ctim_nsec;

}

static void FUNC_0(struct stat *VAR_0, ProxyStat *VAR_1)

{

   memset(VAR_0, 0, sizeof(*VAR_0));

   VAR_0->st_dev = VAR_1->st_dev;

   VAR_0->st_ino = VAR_1->st_ino;

   VAR_0->st_nlink = VAR_1->st_nlink;

   VAR_0->st_mode = VAR_1->st_mode;

   VAR_0->st_uid = VAR_1->st_uid;

   VAR_0->st_gid = VAR_1->st_gid;

   VAR_0->st_rdev = VAR_1->st_rdev;

   VAR_0->st_size = VAR_1->st_size;

   VAR_0->st_blksize = VAR_1->st_blksize;

   VAR_0->st_blocks = VAR_1->st_blocks;

   VAR_0->st_atim.tv_sec = VAR_1->st_atim_sec;

   VAR_0->st_atim.tv_nsec = VAR_1->st_atim_nsec;

   VAR_0->st_mtime = VAR_1->st_mtim_sec;

   VAR_0->st_mtim.tv_nsec = VAR_1->st_mtim_nsec;

   VAR_0->st_ctime = VAR_1->st_ctim_sec;

   VAR_0->st_ctim.tv_nsec = VAR_1->st_ctim_nsec;

}

static void FUNC_0(struct stat *VAR_0, ProxyStat *VAR_1)
{ memset(VAR_0, 0, sizeof(*VAR_0)); VAR_0->st_dev = VAR_1->st_dev; VAR_0->st_ino = VAR_1->st_ino; VAR_0->st_nlink = VAR_1->st_nlink; VAR_0->st_mode = VAR_1->st_mode; VAR_0->st_uid = VAR_1->st_uid; VAR_0->st_gid = VAR_1->st_gid; VAR_0->st_rdev = VAR_1->st_rdev; VAR_0->st_size = VAR_1->st_size; VAR_0->st_blksize = VAR_1->st_blksize; VAR_0->st_blocks = VAR_1->st_blocks; VAR_0->st_atim.tv_sec = VAR_1->st_atim_sec; VAR_0->st_atim.tv_nsec = VAR_1->st_atim_nsec; VAR_0->st_mtime = VAR_1->st_mtim_sec; VAR_0->st_mtim.tv_nsec = VAR_1->st_mtim_nsec; VAR_0->st_ctime = VAR_1->st_ctim_sec; VAR_0->st_ctim.tv_nsec = VAR_1->st_ctim_nsec; }