root/lib.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


//#include "liststackstruct.h"

void g_log(CString path, CString log);
BOOL g_rm_recursive(CString path);
BOOL g_cstring2file(/*CString& buf*/LPCTSTR buf, LPCTSTR filename);
BOOL g_file2cstring(LPCTSTR filename,CString& buf);
BOOL g_fcreate(LPCTSTR path);
BOOL g_connect_process(CStringArray &comline, CString &out1, CString &out2);
//int g_get_icon_index(const CString& csFileName);
// CStringを各行毎にCStringArrayに格納する
void g_cstr2cstra(CString& cstr, CStringArray& cstra, LPCTSTR sep);
void g_cstr2cstra_ex(CString& cstr, CStringArray& cstra, LPCTSTR sep);
// CStringArrayに各行毎格納したものをCStringに書き出す
void g_cstra2cstr(CStringArray& cstra, CString& cstr, int size);
// テキストファイルの各行をCStringArrayに読み込む
BOOL g_file2cstra(LPCTSTR path, CStringArray &cstra);
// CStringArrayに各行毎格納されたテキストをファイルへ書き出す
BOOL g_cstra2file(LPCTSTR path, CStringArray &cstra);
// ファイルの大きさを返す
long g_getfs(LPCTSTR path);
// ファイル名を番号として見たとき、引数(num)以上でまだ存在しない最小の番号を返す関数
int g_get_min_num(CString path);
// CStringArrayのstart行からend行までを取得する
void g_cstra_getpart(CStringArray &org, CStringArray &dst, int start, int end);
// CStringArrayに格納されているCStringの総サイズを取得する
int g_cstra_getsize(CStringArray& cstra);
// ファイルやフォルダがあるかないか確認する
BOOL g_is_there(LPCTSTR path);
// 大文字小文字の関係なく二つのCStringを比べ、一致すればTRUEを返す
BOOL g_cstr_compare(LPCTSTR c, LPCTSTR d);
// <>の中の文字列を返す関数
CString g_ma(CString& to);
CString g_getfield(CString& body, LPCTSTR name);
CString g_gen_msgid(CString from);
void g_cstr_chop(CString &buf);
CString g_cstr_chop2(CString buf);
int g_cstr_rvs_find(CString org, LPCTSTR key, int start);
// テンポラリーファイルを作成し、そのファイルへのパスを返す
CString g_get_tmp_file();
// directoryを削除する関数(中にあるファイルも全て)
BOOL g_delete_directory(LPCTSTR dir_path);
// LOGFONT構造体をコピーします。
void g_logfont_copy(LOGFONT *dst, LOGFONT *org);
// タイムゾーン名から
CString g_get_tzoffset_from_tzname(CString name);
// cstringからmarkで囲まれた部分を排除する
void g_strip_part(CString &buf, char *mark);
// 文字列に半角カナが含まれているかどうか確かめる
BOOL g_is_hankana(unsigned char *buf);

/* [<][>][^][v][top][bottom][index][help] */