IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 18, 2006, 6:58:54 AM (20 years ago)
Author:
eugene
Message:

updates to fix comm problems with buffers (motivated by opihi gprint)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/init.c

    r7892 r7929  
    6464
    6565}
     66
     67int server         PROTO((int, char **));
     68
     69static Command server_cmds[] = { 
     70  {"server",  server,   "server-specific commands"},
     71};
     72
     73void InitPantasksServer () {
     74 
     75  int i;
     76
     77  InitTasks ();
     78  InitJobs ();
     79  InitJobIDs ();
     80
     81  for (i = 0; i < sizeof (cmds) / sizeof (Command); i++) {
     82    AddCommand (&cmds[i]);
     83  }
     84  for (i = 0; i < sizeof (server_cmds) / sizeof (Command); i++) {
     85    AddCommand (&server_cmds[i]);
     86  }
     87
     88}
Note: See TracChangeset for help on using the changeset viewer.