All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hcl.domino.jna.internal.structs.NotesReplicationHistorySummaryStruct Maven / Gradle / Ivy

/*
 * ==========================================================================
 * Copyright (C) 2019-2022 HCL America, Inc. ( http://www.hcl.com/ )
 *                            All rights reserved.
 * ==========================================================================
 * Licensed under the  Apache License, Version 2.0  (the "License").  You may
 * not use this file except in compliance with the License.  You may obtain a
 * copy of the License at .
 *
 * Unless  required  by applicable  law or  agreed  to  in writing,  software
 * distributed under the License is distributed on an  "AS IS" BASIS, WITHOUT
 * WARRANTIES OR  CONDITIONS OF ANY KIND, either express or implied.  See the
 * License for the  specific language  governing permissions  and limitations
 * under the License.
 * ==========================================================================
 */
package com.hcl.domino.jna.internal.structs;
import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.Arrays;
import java.util.List;

import com.sun.jna.Pointer;
import com.sun.jna.Structure;
/**
 * This file was autogenerated by JNAerator,
* a tool written by Olivier Chafik that uses a few opensource projects..
* For help, please visit NativeLibs4Java , Rococoa, or JNA. */ public class NotesReplicationHistorySummaryStruct extends BaseStructure { /** * Time returned from last replication
* C type : TIMEDATE */ public NotesTimeDateStruct ReplicationTime; /** Access level at time of replication */ public short AccessLevel; /** Access flags at time of replication */ public short AccessFlags; /** NEVER, SEND, RECEIVE */ public short Direction; /** Server name offset in packed data */ public int ServerNameOffset; /** Server name length in packed data */ public short ServerNameLength; /** File name length in packed data */ public short FileNameLength; /** contains MoreInfo from cache - includes complete replication flag */ public short MoreInfo; /** Room for growth */ public short wSpare; /** Room for growth */ public int dwSpare; public NotesReplicationHistorySummaryStruct() { super(Structure.ALIGN_DEFAULT); } public static NotesReplicationHistorySummaryStruct newInstance() { return AccessController.doPrivileged((PrivilegedAction) () -> new NotesReplicationHistorySummaryStruct()); } @Override protected List getFieldOrder() { return Arrays.asList( "ReplicationTime", //$NON-NLS-1$ "AccessLevel", //$NON-NLS-1$ "AccessFlags", //$NON-NLS-1$ "Direction", //$NON-NLS-1$ "ServerNameOffset", //$NON-NLS-1$ "ServerNameLength", //$NON-NLS-1$ "FileNameLength", //$NON-NLS-1$ "MoreInfo", //$NON-NLS-1$ "wSpare", //$NON-NLS-1$ "dwSpare" //$NON-NLS-1$ ); } public NotesReplicationHistorySummaryStruct(Pointer peer) { super(peer, Structure.ALIGN_DEFAULT); } public static NotesReplicationHistorySummaryStruct newInstance(Pointer peer) { return AccessController.doPrivileged((PrivilegedAction) () -> new NotesReplicationHistorySummaryStruct(peer)); } public static class ByReference extends NotesReplicationHistorySummaryStruct implements Structure.ByReference { }; public static class ByValue extends NotesReplicationHistorySummaryStruct implements Structure.ByValue { }; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy