SourceForge: s2putty/s2putty: changeset 34:fbff432c5e91
Added accesspoint setting to engine
authorristoavila
Tue Oct 20 18:45:00 2009 +0300 (5 weeks ago)
changeset 34fbff432c5e91
parent 338d6445bf9288
child 3563978975808f
Added accesspoint setting to engine
engine/putty/putty.h
engine/putty/settings.c
     1.1 --- a/engine/putty/putty.h	Thu Oct 15 10:59:36 2009 +0300
     1.2 +++ b/engine/putty/putty.h	Tue Oct 20 18:45:00 2009 +0300
     1.3 @@ -633,6 +633,8 @@
     1.4      FontSpec widefont;
     1.5      FontSpec wideboldfont;
     1.6      int shadowboldoffset;
     1.7 +    /* Added for S60 accesspoint setting - Risto Avila*/
     1.8 +    int accesspoint;
     1.9  };
    1.10  
    1.11  /*
     2.1 --- a/engine/putty/settings.c	Thu Oct 15 10:59:36 2009 +0300
     2.2 +++ b/engine/putty/settings.c	Tue Oct 20 18:45:00 2009 +0300
     2.3 @@ -443,6 +443,8 @@
     2.4      write_setting_i(sesskey, "SerialStopHalfbits", cfg->serstopbits);
     2.5      write_setting_i(sesskey, "SerialParity", cfg->serparity);
     2.6      write_setting_i(sesskey, "SerialFlowControl", cfg->serflow);
     2.7 +    /* Added for S60 accesspoint setting - Risto Avila*/
     2.8 +    write_setting_i(sesskey, "AccessPoint", cfg->accesspoint);
     2.9  }
    2.10  
    2.11  void load_settings(char *section, Config * cfg)
    2.12 @@ -775,6 +777,8 @@
    2.13      gppi(sesskey, "SerialStopHalfbits", 2, &cfg->serstopbits);
    2.14      gppi(sesskey, "SerialParity", SER_PAR_NONE, &cfg->serparity);
    2.15      gppi(sesskey, "SerialFlowControl", SER_FLOW_XONXOFF, &cfg->serflow);
    2.16 +    /* Added for S60 accesspoint setting - Risto Avila*/
    2.17 +    gppi(sesskey, "AccessPoint",0, &cfg->accesspoint);
    2.18  }
    2.19  
    2.20  void do_defaults(char *session, Config * cfg)