src/dird/dir_plugins.c
void dump_dir_plugin(Plugin *plugin, FILE *fp)
{
   if (!plugin) {
      return ;
   }
   pDirInfo *info = (pDirInfo *) plugin->pinfo;
   fprintf(fp, "\tversion=%d\n", info->version);
   fprintf(fp, "\tdate=%s\n", NPRTB(info->plugin_date));
   fprintf(fp, "\tmagic=%s\n", NPRTB(info->plugin_magic));
   fprintf(fp, "\tauthor=%s\n", NPRTB(info->plugin_author));
   fprintf(fp, "\tlicence=%s\n", NPRTB(info->plugin_license));
   fprintf(fp, "\tversion=%s\n", NPRTB(info->plugin_version));
   fprintf(fp, "\tdescription=%s\n", NPRTB(info->plugin_description));
}
/*
 * Print to file the plugin info.
 */
Print to file the plugin info.
Print to file the plugin info .
void dump_dir_plugin(Plugin *plugin, FILE *fp)
{
   if (!plugin) {
      return ;
   }
   pDirInfo *info = (pDirInfo *) plugin->pinfo;
   fprintf(fp, "\tversion=%d\n", info->version);
   fprintf(fp, "\tdate=%s\n", NPRTB(info->plugin_date));
   fprintf(fp, "\tmagic=%s\n", NPRTB(info->plugin_magic));
   fprintf(fp, "\tauthor=%s\n", NPRTB(info->plugin_author));
   fprintf(fp, "\tlicence=%s\n", NPRTB(info->plugin_license));
   fprintf(fp, "\tversion=%s\n", NPRTB(info->plugin_version));
   fprintf(fp, "\tdescription=%s\n", NPRTB(info->plugin_description));
}
void dump_dir_plugin ( Plugin * plugin , FILE * fp ) { if ( ! plugin ) { return ; } pDirInfo * info = ( pDirInfo * ) plugin -> pinfo ; fprintf ( fp , " \t \n " , info -> version ) ; fprintf ( fp , " \t \n " , NPRTB ( info -> plugin_date ) ) ; fprintf ( fp , " \t \n " , NPRTB ( info -> plugin_magic ) ) ; fprintf ( fp , " \t \n " , NPRTB ( info -> plugin_author ) ) ; fprintf ( fp , " \t \n " , NPRTB ( info -> plugin_license ) ) ; fprintf ( fp , " \t \n " , NPRTB ( info -> plugin_version ) ) ; fprintf ( fp , " \t \n " , NPRTB ( info -> plugin_description ) ) ; }
Print to file the plugin info.
Print to file the plugin info .