bRC_GPFSLIB _gpfs_backup_acl_data(JCR *jcr, FF_PKT *ff_pkt, unsigned char acl_type, POOLMEM *content, uint32_t &content_len);
bRC_GPFSLIB _gpfs_restore_acl_data(JCR *jcr, int stream, POOLMEM *content, uint32_t content_len);
+
public:
+ /* Check if the library is loaded */
+ static bool enabled() {
+ return Get()._gpfs_getacl != NULL;
+ };
+
/**
* @brief Destroy the GPFSLIB object
*
};
-#endif /* _BAC_GPFS_H_ */
\ No newline at end of file
+#endif /* _BAC_GPFS_H_ */
events_send_msg(NULL, "FD0001",
EVENTS_TYPE_DAEMON, "*Daemon*",
(intptr_t)get_first_port_host_order(me->FDaddrs), "Filed startup");
+
+ /* Load the GPFS library if installed */
GPFSLIB::Init();
server_tid = pthread_self();
OT_STRING, "pkidigest", NPRTB(digest),
OT_INT32, "fips", crypto_get_fips(),
OT_STRING, "crypto", crypto_get_version(),
+ OT_BOOL, "gpfs", GPFSLIB::enabled(),
OT_END);
p = wt.end_group();
sendit(p, strlen(p), sp);
p_GetVolumeNameForVolumeMountPointW?"":"!",
have_lzo?"":"!",
(BEEF>0)?"":"!");
+ );
sendit(msg.c_str(), len, sp);
}
#endif
len = Mmsg(msg, " Crypto: fips=%s crypto=%s\n", crypto_get_fips_enabled(), crypto_get_version());
sendit(msg.c_str(), len, sp);
+ if (chk_dbglvl(1)) {
+ len = Mmsg(msg, " APIs: %sGPFS\n", GPFSLIB::enabled()?"":"!");
+ sendit(msg.c_str(), len, sp);
+ }
+
if (b_plugin_list && b_plugin_list->size() > 0) {
Plugin *plugin;
int len, maxlen=80;