C API sample on Linux

Hi all,I am trying to do some backup and restore using the Domino’s C API on Linux. Could anyone give me some hints on using the API on Linux? Is there any sample code on Linux that uses the C API?

Thanks,

Alan

Subject: C API sample on Linux

HiHope to be of any help.

:slight_smile: cheers

Windows:

Declare Function NSFDbReplicaInfoGet Lib “nnotes.dll” (Byval dbHandle As Long, replInfoStruct As ReplicaInfo) As Integer

Linux:

Declare Function NSFDbReplicaInfoGet Lib “libnotes.so” (Byval dbHandle As Long, replInfoStruct As ReplicaInfo) As Integer

Subject: RE: C API sample on Linux

Hi,Thanks for your reply. I am going to start with modifying the sample code (dbbackup.c and dbrecs.c) first. Should I just modify win32io.c to replace the Windows API things with Linux things? Is there any Linux version of the sample API for reference?

Thanks,

Alan