Skip to content

Commit

Permalink
filed: won32 filedaemon namespace corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Sep 20, 2018
1 parent 2f77b7d commit fc97d14
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/win32/filed/vss.cc
Expand Up @@ -37,6 +37,8 @@
#include "ms_atl.h"
#include <objbase.h>

namespace filedaemon {

/*
* { b5946137-7b9f-4925-af80-51abd60b20d5 }
*/
Expand Down Expand Up @@ -260,3 +262,5 @@ void VSSClient::DestroyWriterInfo()
}
}
#endif

} /* namespace filedaemon */
4 changes: 4 additions & 0 deletions core/src/win32/filed/vss_generic.cc
Expand Up @@ -109,6 +109,8 @@ class IXMLDOMDocument;

#include "vss.h"

namespace filedaemon {

static void JmsgVssApiStatus(JobControlRecord *jcr, int msg_status, HRESULT hr, const char *apiName)
{
const char *errmsg;
Expand Down Expand Up @@ -1138,4 +1140,6 @@ bool VSSClientGeneric::CheckWriterStatus()

return true;
}

} /* namespace filedaemon */
#endif /* WIN32_VSS */
2 changes: 2 additions & 0 deletions core/src/win32/filed/who.h
Expand Up @@ -28,4 +28,6 @@
#define SERVICE_DESC "Provides file backup and restore services (bareos client)."

#define TerminateApp(x) TerminateFiled(x)
namespace filedaemon {
void TerminateFiled(int sig);
} /* namespace filedaemon */
5 changes: 5 additions & 0 deletions core/src/win32/plugins/filed/mssqlvdi-fd.cc
Expand Up @@ -47,6 +47,9 @@
#include <adoid.h>
#include <adoint.h>


namespace filedaemon {

static const int debuglevel = 150;

#define PLUGIN_LICENSE "Bareos AGPLv3"
Expand Down Expand Up @@ -1919,3 +1922,5 @@ static bRC checkFile(bpContext *ctx, char *fname)
{
return bRC_OK;
}

} /* namespace filedaemon */

0 comments on commit fc97d14

Please sign in to comment.