pdcomm_gem_program_resync
Function
Retries the parent directory synchronization of a file store.
PdcommStatus pdcomm_gem_program_resync(PdcommTcpEndpoint *endpoint)Use after #PDCOMM_PROGRAM_UNCONFIRMED when the application needs confirmed directory synchronization. The call never rewrites data or confirms a retained reply.
Parameters
| Name | Description |
|---|---|
endpoint | Endpoint with a file-backed program store. |
Returns
#PDCOMM_OK when the directory was synchronized; #PDCOMM_INVALID_STATE for a RAM store or when no program store is configured; #PDCOMM_IO_ERROR when synchronization failed; #PDCOMM_BACKPRESSURE when a staged TCP event is pending; #PDCOMM_INVALID_ARGUMENT for a NULL endpoint, or #PDCOMM_POISONED.