net.east301.keyring.osx.CoreFoundationLibrary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-keyring Show documentation
Show all versions of java-keyring Show documentation
A Java library to store password securely
The newest version!
/**
* @author $Author: east301 $
* @date $Date: 2012/10/21 11:18:21 $
* @version $Revision: fb93b8608b64 $
*/
package net.east301.keyring.osx;
import com.sun.jna.Library;
import com.sun.jna.Pointer;
/**
* OS X CoreFoundation library
*/
interface CoreFoundationLibrary extends Library {
public long CFStringGetLength( // CFIndex
Pointer theString); // CFStringRef
public char CFStringGetCharacterAtIndex( // UniChar
Pointer theString, // CFStringRef
long idx); // CFIndex
public void CFRelease( // void
Pointer cf); // CFTypeRef
} // interface CoreFoundationLibrary