Browse Subversion Repository
Diff of /bathyscaphe/trunk/frameworks/CocoMonar/framework/src/CMRHostTypes.m
Parent Directory
| Revision Log
| Patch
| 3 |
// BathyScaphe |
// BathyScaphe |
| 4 |
// |
// |
| 5 |
// Updated by Tsutomu Sawada on 10/03/07. |
// Updated by Tsutomu Sawada on 10/03/07. |
| 6 |
// Copyright 2005-2010 BathyScaphe Project. All rights reserved. |
// Copyright 2005-2011 BathyScaphe Project. All rights reserved. |
| 7 |
// encoding="UTF-8" |
// encoding="UTF-8" |
| 8 |
// |
// |
| 9 |
|
|
| 139 |
return can_readcgi(host); |
return can_readcgi(host); |
| 140 |
} |
} |
| 141 |
|
|
| 142 |
|
bool is_2ch_except_pink(const char *host) |
| 143 |
|
{ |
| 144 |
|
if (host == NULL) { |
| 145 |
|
return false; |
| 146 |
|
} |
| 147 |
|
if (strstr(host, ".2ch.net")) { |
| 148 |
|
return !strstr(host, "tako") && !strstr(host, "piza."); |
| 149 |
|
} |
| 150 |
|
return false; |
| 151 |
|
} |
| 152 |
|
|
| 153 |
bool is_2ch_belogin_needed(const char *host) |
bool is_2ch_belogin_needed(const char *host) |
| 154 |
{ |
{ |
| 155 |
if (host != NULL) { |
if (host != NULL) { |
|
|
Legend:
| Removed from v.1159 |
|
| changed lines |
| |
Added in v.1315 |
|
|
|