| 1 |
/** |
// |
| 2 |
* $Id: CMRHostTypes.h,v 1.3 2007-10-20 02:21:29 tsawada2 Exp $ |
// CMRHostTypes.h |
| 3 |
* |
// BathyScaphe |
| 4 |
* CMRHostTypes.h |
// |
| 5 |
* |
// Updated by Tsutomu Sawada on 10/03/07. |
| 6 |
* Copyright (c) 2003, Takanori Ishikawa. |
// Copyright 2005-2010 BathyScaphe Project. All rights reserved. |
| 7 |
* See the file LICENSE for copying permission. |
// encoding="UTF-8" |
| 8 |
*/ |
// |
| 9 |
|
|
| 10 |
#ifndef HOSTTYPES_INCLUDED |
#ifndef HOSTTYPES_INCLUDED |
| 11 |
#define HOSTTYPES_INCLUDED |
#define HOSTTYPES_INCLUDED |
| 29 |
extern const char *CMRGetHostCStringFromBoardURL(NSURL *anURL, const char **bbs); |
extern const char *CMRGetHostCStringFromBoardURL(NSURL *anURL, const char **bbs); |
| 30 |
// return copied string |
// return copied string |
| 31 |
extern NSString *CMRGetHostStringFromBoardURL(NSURL *anURL, NSString **bbs); |
extern NSString *CMRGetHostStringFromBoardURL(NSURL *anURL, NSString **bbs); |
|
// return temporary string |
|
| 32 |
/* |
/* |
| 33 |
Deprecated in BathyScaphe 1.6 and later. |
Deprecated in BathyScaphe 1.6 and later. |
| 34 |
*/ |
*/ |
| 35 |
|
// return temporary string |
| 36 |
//extern NSString *CMRGetHostStringFromBoardURLNoCopy(NSURL *anURL, NSString **bbs); |
//extern NSString *CMRGetHostStringFromBoardURLNoCopy(NSURL *anURL, NSString **bbs); |
| 37 |
|
|
| 38 |
|
|
| 40 |
|
|
| 41 |
extern bool can_readcgi(const char *host); |
extern bool can_readcgi(const char *host); |
| 42 |
|
|
| 43 |
// 2channel互換 |
// 2channel莠呈鋤 |
| 44 |
extern bool is_2channel(const char *host); |
extern bool is_2channel(const char *host); |
| 45 |
extern bool is_be2ch(const char *host); // EUC エンコーディングが必要かどうかを判定する際に使う |
/* |
| 46 |
extern bool is_2ch_belogin_needed(const char *host); // 書き込みに Be ログインが必須かどうかを判定する際に使う |
Deprecated in BathyScaphe 2.0 and later. |
| 47 |
|
*/ |
| 48 |
|
//extern bool is_be2ch(const char *host); // EUC 繧ィ繝ウ繧ウ繝シ繝?ぅ繝ウ繧ー縺悟ソ?ヲ√°縺ゥ縺?°繧貞愛螳壹☆繧矩圀縺ォ菴ソ縺?/td>
|
| 49 |
|
|
| 50 |
|
// 譖ク縺崎セシ縺ソ縺ォ Be 繝ュ繧ー繧、繝ウ縺悟ソ??医°縺ゥ縺?°繧貞愛螳壹☆繧矩圀縺ォ菴ソ縺?/td>
|
| 51 |
|
extern bool is_2ch_belogin_needed(const char *host); |
| 52 |
|
|
| 53 |
/* |
/* |
| 54 |
NOTE: This function has not been deprecated in BathyScaphe 1.6, but naming of this function is confusing. |
Deprecated in BathyScaphe 2.0 and later. |
| 55 |
Use is_jbbs_livedoor(const char *host) instead. |
Use is_jbbs_livedoor(const char *host) instead. |
| 56 |
*/ |
*/ |
| 57 |
extern bool is_jbbs_shita(const char *host); |
extern bool is_jbbs_shita(const char *host); |