📄 rdirectory.h
字号:
/* $Id: rdirectory.h,v 1.5 2002/12/02 12:27:55 mhe Exp $ * * rdirectory.h -- representation of a remote directory * * Yet Another FTP Client * Copyright (C) 1998-2001, Martin Hedenfalk <mhe@stacken.kth.se> * * This program 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. See COPYING for more details. */#ifndef _rdirectory_h_included#define _rdirectory_h_included#include "syshdr.h"#include "rfile.h"#include "linklist.h"typedef struct rdirectory{ char *path; /* directory path */ list *files; /* linked list of rfiles */ time_t timestamp; /* time of creation */} rdirectory;rdirectory *rdir_create(void);void rdir_destroy(rdirectory *rdir);int rdir_parse(rdirectory *rdir, FILE *fp, const char *path, bool is_mlsd);rfile *rdir_get_file(rdirectory *rdir, const char *filename);unsigned long int rdir_size(rdirectory *rdir);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -