*** empty log message ***

svn path=/trunk/boinc/; revision=9658
This commit is contained in:
Charlie Fenton 2006-03-16 08:51:34 +00:00
parent 187ada5886
commit ae01b962ea
7 changed files with 19 additions and 13 deletions

View File

@ -30,7 +30,7 @@
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
struct BOINC_OPTIONS { typedef struct BOINC_OPTIONS {
int main_program; int main_program;
// this is the main program, so // this is the main program, so
// - lock a lock file in the slot directory // - lock a lock file in the slot directory
@ -55,15 +55,15 @@ struct BOINC_OPTIONS {
// up, such as threads and memory. So terminate the app // up, such as threads and memory. So terminate the app
// and use a checkpoint to recover from the issue during // and use a checkpoint to recover from the issue during
// the next execution. // the next execution.
}; } BOINC_OPTIONS;
struct BOINC_STATUS { typedef struct BOINC_STATUS {
int no_heartbeat; int no_heartbeat;
int suspended; int suspended;
int quit_request; int quit_request;
int reread_init_data_file; int reread_init_data_file;
int abort_request; int abort_request;
}; } BOINC_STATUS;
extern int boinc_init(void); extern int boinc_init(void);
extern int boinc_finish(int status); extern int boinc_finish(int status);
@ -88,10 +88,8 @@ extern int boinc_is_standalone(void);
extern void boinc_ops_per_cpu_sec(double fp, double integer); extern void boinc_ops_per_cpu_sec(double fp, double integer);
extern void boinc_ops_cumulative(double fp, double integer); extern void boinc_ops_cumulative(double fp, double integer);
extern int boinc_receive_trickle_down(char* buf, int len); extern int boinc_receive_trickle_down(char* buf, int len);
#ifndef __OBJC__
extern int boinc_init_options(BOINC_OPTIONS*); extern int boinc_init_options(BOINC_OPTIONS*);
extern int boinc_get_status(BOINC_STATUS*); extern int boinc_get_status(BOINC_STATUS*);
#endif
extern double boinc_get_fraction_done(); extern double boinc_get_fraction_done();
#ifdef __APPLE__ #ifdef __APPLE__

View File

@ -2842,7 +2842,7 @@ Charlie 14 Mar 2006
- Fix compiler bug due to BOINC_OPTIONS* when using objective-C. - Fix compiler bug due to BOINC_OPTIONS* when using objective-C.
api/ api/
boinc_api.C,h boinc_api.h
Rom 14 Mar 2006 Rom 14 Mar 2006
- Bug Fix: Copy over the account manager url from the rpc to - Bug Fix: Copy over the account manager url from the rpc to
@ -2871,3 +2871,11 @@ David 15 Mar 2006
acct_mgr.C acct_mgr.C
html/user/ html/user/
am_set_info.php am_set_info.php
Charlie 16 Mar 2006
- Add typedef to BOINC_OPTIONS and BOINC_STATUS so boinc_get_status()
and boinc_init_options() declarations compile without errors
when using straight C and objective-C with GCC-4.0.
api/
boinc_api.h

View File

@ -1,5 +1,5 @@
/* Localized versions of Info.plist keys */ /* Localized versions of Info.plist keys */
CFBundleName = "BOINC"; CFBundleName = "BOINC";
CFBundleShortVersionString = "BOINC version 5.3.23"; CFBundleShortVersionString = "BOINC version 5.3.26";
CFBundleGetInfoString = "BOINC version 5.3.23, Copyright 2005 University of California."; CFBundleGetInfoString = "BOINC version 5.3.26, Copyright 2005 University of California.";

View File

@ -17,6 +17,6 @@
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>BNC!</string> <string>BNC!</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>5.3.23</string> <string>5.3.26</string>
</dict> </dict>
</plist> </plist>

View File

@ -15,6 +15,6 @@
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>5.3.23</string> <string>5.3.26</string>
</dict> </dict>
</plist> </plist>

View File

@ -17,7 +17,7 @@
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>5.3.23</string> <string>5.3.26</string>
<key>NSPrincipalClass</key> <key>NSPrincipalClass</key>
<string>BOINC_Saver_ModuleView</string> <string>BOINC_Saver_ModuleView</string>
</dict> </dict>

View File

@ -15,6 +15,6 @@
<key>CFBundleSignature</key> <key>CFBundleSignature</key>
<string>????</string> <string>????</string>
<key>CFBundleVersion</key> <key>CFBundleVersion</key>
<string>5.3.23</string> <string>5.3.26</string>
</dict> </dict>
</plist> </plist>