![JAR search and dependency download from the Maven repository](/logo.png)
de.carne.security.jna.macos.CoreFoundationLibrary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-security Show documentation
Show all versions of java-security Show documentation
Java library providing security related functions
The newest version!
/*
* Copyright (c) 2018-2019 Holger de Carne and contributors, All Rights Reserved.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
package de.carne.security.jna.macos;
import com.sun.jna.Library;
import com.sun.jna.Pointer;
/**
* JNA interface to the required functions of the macOS' CoreFoundation frameworks.
*/
public interface CoreFoundationLibrary extends Library {
/**
* See Apple Developer Documentation
*
* @param theString see Apple Developer Documentation.
* @return see Apple Developer Documentation.
*/
@SuppressWarnings({ "squid:S00100", "squid:S00107" })
long/* CFIndex */ CFStringGetLength(Pointer/* CFStringRef */ theString);
/**
* See Apple Developer
* Documentation
*
* @param theString see Apple Developer Documentation.
* @param idx see Apple Developer Documentation.
* @return see Apple Developer Documentation.
*/
@SuppressWarnings({ "squid:S00100", "squid:S00107" })
char/* UniChar */ CFStringGetCharacterAtIndex(Pointer/* CFStringRef */ theString, long/* CFIndex */ idx);
/**
* See Apple Developer Documentation
*
* @param cf see Apple Developer Documentation.
*/
@SuppressWarnings({ "squid:S00100", "squid:S00107" })
void CFRelease(Pointer/* CFTypeRef */ cf);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy