src/dird/fd_cmds.c
bool send_ls_plugin_fileset(JCR *jcr, const char *plugin, const char *path)
{
   BSOCK *fd = jcr->file_bsock;
   fd->fsend(filesetcmd, "" /* no vss */, "" /* no snapshot */);

   fd->fsend("I\n");
   fd->fsend("O h\n");         /* is it required? */
   fd->fsend("N\n");
   fd->fsend("P %s listing=%s\n", plugin, path);
   fd->fsend("N\n");
   fd->signal(BNET_EOD);              /* end of data */

   if (!response(jcr, fd, OKinc, "Include", DISPLAY_ERROR)) {
      return false;
   }
   return true;
}
/*
 * Send a include list with a plugin and listing=<path> parameter
 */
Send a include list with a plugin and listing= parameter
Send a include list with a plugin and listing = parameter
bool send_ls_plugin_fileset(JCR *jcr, const char *plugin, const char *path)
{
   BSOCK *fd = jcr->file_bsock;
   fd->fsend(filesetcmd, "" , "" );
   fd->fsend("I\n");
   fd->fsend("O h\n");         
   fd->fsend("N\n");
   fd->fsend("P %s listing=%s\n", plugin, path);
   fd->fsend("N\n");
   fd->signal(BNET_EOD);              
   if (!response(jcr, fd, OKinc, "Include", DISPLAY_ERROR)) {
      return false;
   }
   return true;
}
bool send_ls_plugin_fileset ( JCR * jcr , const char * plugin , const char * path ) { BSOCK * fd = jcr -> file_bsock ; fd -> fsend ( filesetcmd , " " , " " ) ; fd -> fsend ( " \n " ) ; fd -> fsend ( " \n " ) ; fd -> fsend ( " \n " ) ; fd -> fsend ( " \n " , plugin , path ) ; fd -> fsend ( " \n " ) ; fd -> signal ( BNET_EOD ) ; if ( ! response ( jcr , fd , OKinc , " " , DISPLAY_ERROR ) ) { return false ; } return true ; }
Send a include list with a plugin and listing=<path> parameter
Send a include list with a plugin and listing = <path > parameter
/* no vss */ /* no snapshot */ /* is it required? */ /* end of data */