mirror of
https://github.com/gnustep/libs-base.git
synced 2025-06-01 17:12:03 +00:00
Add missing GS_EXPORT annotations to various string constants.
This commit is contained in:
parent
09a9dfca1f
commit
7800e27879
9 changed files with 46 additions and 45 deletions
|
@ -438,7 +438,8 @@ GS_EXPORT_CLASS
|
||||||
description: (NSString*)format,... GS_NORETURN_METHOD;
|
description: (NSString*)format,... GS_NORETURN_METHOD;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
extern NSString *const NSAssertionHandlerKey;
|
|
||||||
|
GS_EXPORT NSString *const NSAssertionHandlerKey;
|
||||||
|
|
||||||
#ifdef NS_BLOCK_ASSERTIONS
|
#ifdef NS_BLOCK_ASSERTIONS
|
||||||
#define NSAssert(condition, desc, args...)
|
#define NSAssert(condition, desc, args...)
|
||||||
|
|
|
@ -40,19 +40,19 @@ extern "C" {
|
||||||
@class NSString;
|
@class NSString;
|
||||||
@class NSURL;
|
@class NSURL;
|
||||||
|
|
||||||
extern NSString * const NSHTTPCookieComment; /** Obtain text of the comment */
|
GS_EXPORT NSString * const NSHTTPCookieComment; /** Obtain text of the comment */
|
||||||
extern NSString * const NSHTTPCookieCommentURL; /** Obtain the comment URL */
|
GS_EXPORT NSString * const NSHTTPCookieCommentURL; /** Obtain the comment URL */
|
||||||
extern NSString * const NSHTTPCookieDiscard; /** Obtain the sessions discard setting */
|
GS_EXPORT NSString * const NSHTTPCookieDiscard; /** Obtain the sessions discard setting */
|
||||||
extern NSString * const NSHTTPCookieDomain; /** Obtain cookie domain */
|
GS_EXPORT NSString * const NSHTTPCookieDomain; /** Obtain cookie domain */
|
||||||
extern NSString * const NSHTTPCookieExpires; /** Obtain cookie expiry date */
|
GS_EXPORT NSString * const NSHTTPCookieExpires; /** Obtain cookie expiry date */
|
||||||
extern NSString * const NSHTTPCookieMaximumAge; /** Obtain maximum age (expiry) */
|
GS_EXPORT NSString * const NSHTTPCookieMaximumAge; /** Obtain maximum age (expiry) */
|
||||||
extern NSString * const NSHTTPCookieName; /** Obtain name of cookie */
|
GS_EXPORT NSString * const NSHTTPCookieName; /** Obtain name of cookie */
|
||||||
extern NSString * const NSHTTPCookieOriginURL; /** Obtain cookie origin URL */
|
GS_EXPORT NSString * const NSHTTPCookieOriginURL; /** Obtain cookie origin URL */
|
||||||
extern NSString * const NSHTTPCookiePath; /** Obtain cookie path */
|
GS_EXPORT NSString * const NSHTTPCookiePath; /** Obtain cookie path */
|
||||||
extern NSString * const NSHTTPCookiePort; /** Obtain cookie ports */
|
GS_EXPORT NSString * const NSHTTPCookiePort; /** Obtain cookie ports */
|
||||||
extern NSString * const NSHTTPCookieSecure; /** Obtain cookie security */
|
GS_EXPORT NSString * const NSHTTPCookieSecure; /** Obtain cookie security */
|
||||||
extern NSString * const NSHTTPCookieValue; /** Obtain value of cookie */
|
GS_EXPORT NSString * const NSHTTPCookieValue; /** Obtain value of cookie */
|
||||||
extern NSString * const NSHTTPCookieVersion; /** Obtain cookie version */
|
GS_EXPORT NSString * const NSHTTPCookieVersion; /** Obtain cookie version */
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -55,12 +55,12 @@ typedef NSUInteger NSHTTPCookieAcceptPolicy;
|
||||||
* Posted to the distributed notification center when the cookie
|
* Posted to the distributed notification center when the cookie
|
||||||
* accept policy is changed.
|
* accept policy is changed.
|
||||||
*/
|
*/
|
||||||
extern NSString * const NSHTTPCookieManagerAcceptPolicyChangedNotification;
|
GS_EXPORT NSString * const NSHTTPCookieManagerAcceptPolicyChangedNotification;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Posted when the set of cookies changes
|
* Posted when the set of cookies changes
|
||||||
*/
|
*/
|
||||||
extern NSString * const NSHTTPCookieManagerCookiesChangedNotification;
|
GS_EXPORT NSString * const NSHTTPCookieManagerCookiesChangedNotification;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -53,8 +53,8 @@ GS_EXPORT_CLASS
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
extern const NSString * NSInvocationOperationVoidResultException;
|
GS_EXPORT NSString* const NSInvocationOperationVoidResultException;
|
||||||
extern const NSString * NSInvocationOperationCancelledException;
|
GS_EXPORT NSString* const NSInvocationOperationCancelledException;
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,7 +42,7 @@ extern "C" {
|
||||||
/**
|
/**
|
||||||
* Notification sent when the set of stored credentials changes.
|
* Notification sent when the set of stored credentials changes.
|
||||||
*/
|
*/
|
||||||
extern NSString *const NSURLCredentialStorageChangedNotification;
|
GS_EXPORT NSString *const NSURLCredentialStorageChangedNotification;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides shared storage of credentials.
|
* Provides shared storage of credentials.
|
||||||
|
|
|
@ -39,12 +39,12 @@ extern "C" {
|
||||||
/**
|
/**
|
||||||
* The domain for a URL error.
|
* The domain for a URL error.
|
||||||
*/
|
*/
|
||||||
extern NSString * const NSURLErrorDomain;
|
GS_EXPORT NSString * const NSURLErrorDomain;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Obtain the URL which caused the failure
|
* Obtain the URL which caused the failure
|
||||||
*/
|
*/
|
||||||
extern NSString * const NSErrorFailingURLStringKey;
|
GS_EXPORT NSString * const NSErrorFailingURLStringKey;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Error codes for URL errors
|
* Error codes for URL errors
|
||||||
|
|
|
@ -36,31 +36,31 @@ extern "C" {
|
||||||
|
|
||||||
@class NSString;
|
@class NSString;
|
||||||
|
|
||||||
extern NSString * const NSURLProtectionSpaceFTPProxy; /** An FTP proxy */
|
GS_EXPORT NSString * const NSURLProtectionSpaceFTPProxy; /** An FTP proxy */
|
||||||
extern NSString * const NSURLProtectionSpaceHTTPProxy; /** An HTTP proxy */
|
GS_EXPORT NSString * const NSURLProtectionSpaceHTTPProxy; /** An HTTP proxy */
|
||||||
extern NSString * const NSURLProtectionSpaceHTTPSProxy; /** An HTTPS proxy */
|
GS_EXPORT NSString * const NSURLProtectionSpaceHTTPSProxy; /** An HTTPS proxy */
|
||||||
extern NSString * const NSURLProtectionSpaceSOCKSProxy; /** A SOCKS proxy */
|
GS_EXPORT NSString * const NSURLProtectionSpaceSOCKSProxy; /** A SOCKS proxy */
|
||||||
|
|
||||||
/** Default authentication (Basic) */
|
/** Default authentication (Basic) */
|
||||||
extern NSString * const NSURLAuthenticationMethodDefault;
|
GS_EXPORT NSString * const NSURLAuthenticationMethodDefault;
|
||||||
|
|
||||||
/** HTML form authentication */
|
/** HTML form authentication */
|
||||||
extern NSString * const NSURLAuthenticationMethodHTMLForm;
|
GS_EXPORT NSString * const NSURLAuthenticationMethodHTMLForm;
|
||||||
|
|
||||||
/** HTTP Basic authentication */
|
/** HTTP Basic authentication */
|
||||||
extern NSString * const NSURLAuthenticationMethodHTTPBasic;
|
GS_EXPORT NSString * const NSURLAuthenticationMethodHTTPBasic;
|
||||||
|
|
||||||
/** HTTP Digest authentication */
|
/** HTTP Digest authentication */
|
||||||
extern NSString * const NSURLAuthenticationMethodHTTPDigest;
|
GS_EXPORT NSString * const NSURLAuthenticationMethodHTTPDigest;
|
||||||
|
|
||||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5,GS_API_LATEST) && GS_API_VERSION( 11300,GS_API_LATEST)
|
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5,GS_API_LATEST) && GS_API_VERSION( 11300,GS_API_LATEST)
|
||||||
extern NSString * const NSURLAuthenticationMethodNTLM;
|
GS_EXPORT NSString * const NSURLAuthenticationMethodNTLM;
|
||||||
extern NSString * const NSURLAuthenticationMethodNegotiate;
|
GS_EXPORT NSString * const NSURLAuthenticationMethodNegotiate;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6,GS_API_LATEST) && GS_API_VERSION( 11300,GS_API_LATEST)
|
#if OS_API_VERSION(MAC_OS_X_VERSION_10_6,GS_API_LATEST) && GS_API_VERSION( 11300,GS_API_LATEST)
|
||||||
extern NSString * const NSURLAuthenticationMethodClientCertificate;
|
GS_EXPORT NSString * const NSURLAuthenticationMethodClientCertificate;
|
||||||
extern NSString * const NSURLAuthenticationMethodServerTrust;
|
GS_EXPORT NSString * const NSURLAuthenticationMethodServerTrust;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -28,16 +28,16 @@
|
||||||
@class NSHost;
|
@class NSHost;
|
||||||
@class NSString;
|
@class NSString;
|
||||||
|
|
||||||
extern NSString * const GSTLSCAFile;
|
GS_EXPORT NSString * const GSTLSCAFile;
|
||||||
extern NSString * const GSTLSCertificateFile;
|
GS_EXPORT NSString * const GSTLSCertificateFile;
|
||||||
extern NSString * const GSTLSCertificateKeyFile;
|
GS_EXPORT NSString * const GSTLSCertificateKeyFile;
|
||||||
extern NSString * const GSTLSCertificateKeyPassword;
|
GS_EXPORT NSString * const GSTLSCertificateKeyPassword;
|
||||||
extern NSString * const GSTLSDebug;
|
GS_EXPORT NSString * const GSTLSDebug;
|
||||||
extern NSString * const GSTLSPriority;
|
GS_EXPORT NSString * const GSTLSPriority;
|
||||||
extern NSString * const GSTLSRemoteHosts;
|
GS_EXPORT NSString * const GSTLSRemoteHosts;
|
||||||
extern NSString * const GSTLSRevokeFile;
|
GS_EXPORT NSString * const GSTLSRevokeFile;
|
||||||
extern NSString * const GSTLSServerName;
|
GS_EXPORT NSString * const GSTLSServerName;
|
||||||
extern NSString * const GSTLSVerify;
|
GS_EXPORT NSString * const GSTLSVerify;
|
||||||
|
|
||||||
#if GS_USE_GNUTLS
|
#if GS_USE_GNUTLS
|
||||||
/* Temporarily redefine 'id' in case the headers use the objc reserved word.
|
/* Temporarily redefine 'id' in case the headers use the objc reserved word.
|
||||||
|
|
|
@ -136,7 +136,7 @@
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
const NSString * NSInvocationOperationVoidResultException
|
NSString* const NSInvocationOperationVoidResultException
|
||||||
= @"NSInvocationOperationVoidResultException";
|
= @"NSInvocationOperationVoidResultException";
|
||||||
const NSString * NSInvocationOperationCancelledException
|
NSString* const NSInvocationOperationCancelledException
|
||||||
= @"NSInvcationOperationCancelledException";
|
= @"NSInvcationOperationCancelledException";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue