src/stored/hello.c
bool send_hello_sd(JCR *jcr, char *Job)
{
   bool rtn;
   BSOCK *sd = jcr->store_bsock;

   bash_spaces(Job);
   rtn = sd->fsend(hello_sd, Job, FD_VERSION, SD_VERSION);
   unbash_spaces(Job);
   Dmsg1(100, "Send to SD: %s\n", sd->msg);
   if (!rtn) {
      return false;
   }
   return true;
}
/*
 * We are acting as a client, so send Hello to the SD.
 */
We are acting as a client, so send Hello to the SD.
We are acting as a client so send Hello to the SD .
bool send_hello_sd(JCR *jcr, char *Job)
{
   bool rtn;
   BSOCK *sd = jcr->store_bsock;
   bash_spaces(Job);
   rtn = sd->fsend(hello_sd, Job, FD_VERSION, SD_VERSION);
   unbash_spaces(Job);
   Dmsg1(100, "Send to SD: %s\n", sd->msg);
   if (!rtn) {
      return false;
   }
   return true;
}
bool send_hello_sd ( JCR * jcr , char * Job ) { bool rtn ; BSOCK * sd = jcr -> store_bsock ; bash_spaces ( Job ) ; rtn = sd -> fsend ( hello_sd , Job , FD_VERSION , SD_VERSION ) ; unbash_spaces ( Job ) ; Dmsg1 ( 100 , " \n " , sd -> msg ) ; if ( ! rtn ) { return false ; } return true ; }
We are acting as a client, so send Hello to the SD.
We are acting as a client so send Hello to the SD .