diff options
| author | Dan Engelbrecht <[email protected]> | 2025-09-26 10:26:34 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-09-26 10:26:34 +0200 |
| commit | 347153218dd09e3806e5b27eb51f538768f27035 (patch) | |
| tree | 81ef102cc116ed2c751e1af91d83db32ffa8d369 /src/zenutil/include | |
| parent | Merge pull request #509 from ue-foundation/zs/put-overwrite-policy-response (diff) | |
| download | zen-347153218dd09e3806e5b27eb51f538768f27035.tar.xz zen-347153218dd09e3806e5b27eb51f538768f27035.zip | |
new append op rpc method (#511)
- Feature: New `/prj/{project}/{oplog}/rpc` endpoint method `appendops` to send an array of oplog ops and receiving a list of `need` for attachments not present
- Feature: Added `usingtmpfiles` boolean field to `/prj/{project}/{oplog}/rpc` method `putchunks` to be explicit about allowing move of temp attachment files
- Improvement: Added additional validation of compact binary objects when reading from disk/receiving from client
- Improvement: Windows: Added fallback code to use standard `MoveFile` api when rename via `SetFileInformationByHandle` fails in `MoveToFile` (used by filecas)
Diffstat (limited to 'src/zenutil/include')
| -rw-r--r-- | src/zenutil/include/zenutil/zenserverprocess.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/zenutil/include/zenutil/zenserverprocess.h b/src/zenutil/include/zenutil/zenserverprocess.h index 75009b045..0da63285b 100644 --- a/src/zenutil/include/zenutil/zenserverprocess.h +++ b/src/zenutil/include/zenutil/zenserverprocess.h @@ -74,8 +74,9 @@ struct ZenServerInstance void EnableTermination() { m_Terminate = true; } void DisableShutdownOnDestroy() { m_ShutdownOnDestroy = false; } void Detach(); - inline int GetPid() { return m_Process.Pid(); } + inline int GetPid() const { return m_Process.Pid(); } inline void SetOwnerPid(int Pid) { m_OwnerPid = Pid; } + void* GetProcessHandle() const { return m_Process.Handle(); } bool IsRunning(); bool Terminate(); std::string GetLogOutput() const; |