Changes between Version 1 and Version 2 of StatusApi


Ignore:
Timestamp:
May 29, 2011, 8:57:30 PM (13 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • StatusApi

    v1 v2  
    1111
    1212struct APP_INIT_DATA {
    13     int major_version;
     13    int major_version;                  // client version number
    1414    int minor_version;
    1515    int release;
    16     int app_version;
    17     char app_name[256];
    18     char symstore[256];
    19     char acct_mgr_url[256];
    20     char* project_preferences;
    21     int hostid;
     16    int app_version;                    // app version number
     17    char app_name[256];                 // name of this app
     18    char symstore[256];                 // URL of symbol store (Windows)
     19    char acct_mgr_url[256];             // URL of account manager, if any
     20    char* project_preferences;  // project preferences (XML)
     21    int hostid;                                 // ID of this host in project DB
    2222    char user_name[256];
    2323    char team_name[256];
    24     char project_dir[256];
    25     char boinc_dir[256];
    26     char wu_name[256];
    27     char authenticator[256];
    28     int slot;
     24    char project_dir[256];              // absolute path of this project's directory
     25    char boinc_dir[256];                // absolute path of BOINC data directory
     26    char wu_name[256];                  // name of this workunit
     27    char authenticator[256];    // user's authenticator
     28    int slot;                                   // slot # in which we're running
    2929    double user_total_credit;
    3030    double user_expavg_credit;
     
    3232    double host_expavg_credit;
    3333    double resource_share_fraction;
    34     HOST_INFO host_info;
    35     PROXY_INFO proxy_info;  // in case app wants to use network
     34    HOST_INFO host_info;                // description of host hardware
     35    PROXY_INFO proxy_info;      // in case app wants to use network
    3636    GLOBAL_PREFS global_prefs;
    3737    double starting_elapsed_time;
     
    5050};
    5151}}}
    52 
    53 to get the following information:
    54 
    55 ||'''core version'''||The version number of the core client||
    56 ||'''app_name'''||The application name (from the server's DB)||
    57 ||'''project_preferences'''||An XML string containing the user's project-specific preferences.||
    58 ||'''user_name'''||The user's 'screen name' on this project.||
    59 ||'''team_name'''||The user's team name, if any.||
    60 ||'''project_dir'''||Absolute path of project directory||
    61 ||'''boinc_dir'''||Absolute path of BOINC root directory||
    62 ||'''wu_name'''||Name of workunit being processed||
    63 ||'''authenticator'''||User's authenticator for this project||
    64 ||'''slot'''||The number of the app's 'slot'||
    65 ||'''user_total_credit'''||User's total work for this project.||
    66 ||'''user_expavg_credit'''||User's recent average work per day.||
    67 ||'''team_total_credit'''||Team's total work for this project.||
    68 ||'''team_expavg_credit'''||Team's recent average work per day.||
    69 ||'''host_info'''||A structure describing the host hardware and OS||
    70 ||'''starting_elapsed_time'''||Elapsed time, counting previous episodes (provided only by 6.10 and later clients)||
    7152
    7253== Getting runtime system status ==