/[ascend]/trunk/base/generic/solver/slv.c
ViewVC logotype

Diff of /trunk/base/generic/solver/slv.c

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

revision 149 by johnpye, Thu Dec 22 08:51:04 2005 UTC revision 150 by johnpye, Thu Dec 22 09:24:56 2005 UTC
# Line 316  int slv_lookup_client( const char *solve Line 316  int slv_lookup_client( const char *solve
316      sort. it would be good if here we farmed out the dynamic loading      sort. it would be good if here we farmed out the dynamic loading
317      to another file so we don't have to crap this one all up.      to another file so we don't have to crap this one all up.
318  */  */
319  int slv_register_client(SlvRegistration registerfunc, char *func, char *file)  int slv_register_client(SlvRegistration registerfunc, CONST char *func
320            ,CONST char *file, int *new_client_id)
321  {  {
322    int status;    int status;
323    
# Line 326  int slv_register_client(SlvRegistration Line 327  int slv_register_client(SlvRegistration
327    status = registerfunc(&( SlvClientsData[NORC]));    status = registerfunc(&( SlvClientsData[NORC]));
328    if (!status) { /* ok */    if (!status) { /* ok */
329      SlvClientsData[NORC].number = NORC;      SlvClientsData[NORC].number = NORC;
330        new_client_id = NORC;
331      NORC++;      NORC++;
332    } else {    } else {
333      FPRINTF(stderr,"Client %d registration failure (%d)!\n",NORC,status);      FPRINTF(stderr,"Client %d registration failure (%d)!\n",NORC,status);

Legend:
Removed from v.149  
changed lines
  Added in v.150

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22