Beispiel #1
0
        internal RepMgrStatStruct repmgr_stat(uint flags)
        {
            int    err = 0;
            IntPtr ptr = repmgr_stat(flags, ref err);

            DatabaseException.ThrowException(err);
            RepMgrStatStruct ret = (RepMgrStatStruct)Marshal.PtrToStructure(ptr, typeof(RepMgrStatStruct));

            libdb_csharp.__os_ufree(null, ptr);
            return(ret);
        }
Beispiel #2
0
 internal RepMgrStats(Internal.RepMgrStatStruct stats)
 {
     st = stats;
 }
Beispiel #3
0
 internal RepMgrStats(Internal.RepMgrStatStruct stats) {
     st = stats;
 }