Develop and Download Open Source Software

Browse Subversion Repository

Diff of /bathyscaphe/trunk/frameworks/CocoMonar/framework/src/CMRHostTypes.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4 by tsawada2, Wed May 11 17:51:55 2005 UTC revision 238 by tsawada2, Wed Nov 30 23:22:51 2005 UTC
# Line 1  Line 1 
1  /**  /**
2    * $Id: CMRHostTypes.m,v 1.1.1.1 2005-05-11 17:51:19 tsawada2 Exp $    * $Id: CMRHostTypes.m,v 1.2 2005-11-30 23:22:51 tsawada2 Exp $
3    *    *
4    * CMRHostTypes.m    * CMRHostTypes.m
5    *    *
# Line 138  bool is_be2ch(const char *host) Line 138  bool is_be2ch(const char *host)
138  {  {
139          return host ? strstr(host, "be.2ch.net") != NULL && can_readcgi(host) : true;          return host ? strstr(host, "be.2ch.net") != NULL && can_readcgi(host) : true;
140  }  }
141    
142    bool is_2ch_belogin_needed(const char *host)
143    {
144            if (host != NULL) {
145                    return strstr(host, "be.2ch.net") != NULL ||
146                               strstr(host, "qa.2ch.net") != NULL;
147            }
148            return false;
149    }
150    
151  bool is_jbbs_shita(const char *host)  bool is_jbbs_shita(const char *host)
152  {  {
153          if (host != NULL) {          if (host != NULL) {

Legend:
Removed from v.4  
changed lines
  Added in v.238

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26