From: msweet Date: Tue, 15 Jul 2014 20:37:32 +0000 (+0000) Subject: Automate creation of the libcups2.def file, since it is really out-of-date... X-Git-Tag: v2.2b1~564 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4128527fd1b2d35fcd6f3577cf7ad475b3855d11;p=thirdparty%2Fcups.git Automate creation of the libcups2.def file, since it is really out-of-date... git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12032 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/cups/Makefile b/cups/Makefile index 4ac6ae3c1f..7a899de0ad 100644 --- a/cups/Makefile +++ b/cups/Makefile @@ -354,6 +354,23 @@ libcups.a: $(LIBOBJS) $(RANLIB) $@ +# +# libcups2.def (Windows DLL exports file...) +# + +libcups2.def: $(LIBOBJS) Makefile + echo Generating $@... + echo "LIBRARY libcups2" >libcups2.def + echo "VERSION 2.11" >>libcups2.def + echo "EXPORTS" >>libcups2.def + (nm $(LIBOBJS) 2>/dev/null | grep "T _" | awk '{print $$3}'; \ + echo __cups_strcpy; echo __cups_strlcat; echo __cups_strlcpy) | \ + grep -v -E \ + -e 'cups_debug|Apple|BackChannel|Backend|FileCheck|Filter|GSSService|SetNegotiate|SideChannel' \ + -e 'Block$$' | \ + sed -e '1,$$s/^_//' | sort >>libcups2.def + + # # testadmin (dependency on static CUPS library is intentional) # diff --git a/cups/libcups2.def b/cups/libcups2.def index eeea5ff528..66ab4ad663 100644 --- a/cups/libcups2.def +++ b/cups/libcups2.def @@ -1,460 +1,539 @@ -LIBRARY libcups2 -VERSION 2.11 -EXPORTS -_cupsBufferGet -_cupsBufferRelease -_cupsGet1284Values -_cupsGetDests -_cupsGetPassword -_cupsGlobals -_cupsLangPrintError -_cupsLangPrintf -_cupsLangPuts -_cupsLangString -_cupsMD5Append -_cupsMD5Finish -_cupsMD5Init -_cupsMessageFree -_cupsMessageLoad -_cupsMessageLookup -_cupsMutexLock -_cupsMutexUnlock -_cupsNextDelay -_cupsSetError -_cupsSetLocale -_cupsStrAlloc -_cupsStrDate -_cupsStrFlush -_cupsStrFormatd -_cupsStrFree -_cupsStrRetain -_cupsStrScand -_cupsStrStatistics -_cups_strcasecmp -_cups_strncasecmp -_cups_strcpy -_cups_strlcat -_cups_strlcpy -_httpAddrSetPort -_httpEncodeURI -_httpResolveURI -_httpWait -_ippFindOption -_ppdCacheCreateWithFile -_ppdCacheCreateWithPPD -_ppdCacheDestroy -_ppdCacheGetBin -_ppdCacheGetInputSlot -_ppdCacheGetMediaType -_ppdCacheGetOutputBin -_ppdCacheGetPageSize -_ppdCacheGetSize -_ppdCacheGetSource -_ppdCacheGetType -_ppdCacheWriteFile -_ppdFreeLanguages -_ppdGetEncoding -_ppdGetLanguages -_ppdHashName -_ppdLocalizedAttr -_ppdNormalizeMakeAndModel -_ppdOpen -_ppdOpenFile -_ppdParseOptions -_pwgMediaTable -cupsAddDest -cupsAddOption -cupsAdminCreateWindowsPPD -cupsAdminExportSamba -cupsArrayAdd -cupsArrayClear -cupsArrayCount -cupsArrayCurrent -cupsArrayDelete -cupsArrayDup -cupsArrayFind -cupsArrayFirst -cupsArrayGetIndex -cupsArrayGetInsert -cupsArrayIndex -cupsArrayInsert -cupsArrayLast -cupsArrayNew -cupsArrayNew2 -cupsArrayNew3 -cupsArrayNext -cupsArrayPrev -cupsArrayRemove -cupsArrayRestore -cupsArraySave -cupsArrayUserData -cupsCancelDestJob -cupsCancelJob -cupsCharsetToUTF8 -cupsCheckDestSupported -cupsCloseDestJob -cupsConnectDest -cupsCopyDest -cupsCopyDestConflicts -cupsCopyDestInfo -cupsCreateDestJob -cupsCreateJob -cupsDirClose -cupsDirOpen -cupsDirRead -cupsDirRewind -cupsDoAuthentication -cupsDoFileRequest -cupsDoIORequest -cupsDoRequest -cupsEncodeOptions -cupsEncodeOptions2 -cupsEncryption -cupsEnumDests -cupsFileClose -cupsFileCompression -cupsFileEOF -cupsFileFind -cupsFileFlush -cupsFileGetChar -cupsFileGetConf -cupsFileGetLine -cupsFileGets -cupsFileLock -cupsFileNumber -cupsFileOpen -cupsFileOpenFd -cupsFilePeekChar -cupsFilePrintf -cupsFilePutChar -cupsFilePuts -cupsFileRead -cupsFileRewind -cupsFileSeek -cupsFileStderr -cupsFileStdin -cupsFileStdout -cupsFileTell -cupsFileUnlock -cupsFileWrite -cupsFindDestDefault -cupsFindDestReady -cupsFindDestSupported -cupsFinishDestDocument -cupsFinishDocument -cupsFreeDestInfo -cupsFreeDests -cupsFreeJobs -cupsFreeOptions -cupsGetClasses -cupsGetDefault -cupsGetDefault2 -cupsGetDest -cupsGetDestMediaByIndex -cupsGetDestMediaByName -cupsGetDestMediaBySize -cupsGetDestMediaCount -cupsGetDestMediaDefault -cupsGetDestWithURI -cupsGetDests -cupsGetDests2 -cupsGetFd -cupsGetFile -cupsGetJobs -cupsGetJobs2 -cupsGetOption -cupsGetPPD -cupsGetPPD2 -cupsGetPassword -cupsGetPrinters -cupsGetResponse -cupsLangDefault -cupsLangEncoding -cupsLangFlush -cupsLangFree -cupsLangGet -cupsLastError -cupsLastErrorString -cupsLocalizeDestMedia -cupsLocalizeDestOption -cupsLocalizeDestValue -cupsMakeServerCredentials -cupsMarkOptions -cupsNotifySubject -cupsNotifyText -cupsParseOptions -cupsPrintFile -cupsPrintFile2 -cupsPrintFiles -cupsPrintFiles2 -cupsPutFd -cupsPutFile -cupsRemoveOption -cupsResolveConflicts -cupsSendRequest -cupsServer -cupsSetClientCertCB -cupsSetCredentials -cupsSetDests -cupsSetDests2 -cupsSetEncryption -cupsSetPasswordCB -cupsSetServer -cupsSetServerCertCB -cupsSetServerCredentials -cupsSetUser -cupsSetUserAgent -cupsStartDestDocument -cupsStartDocument -cupsTempFd -cupsTempFile -cupsTempFile2 -cupsUserAgent -cupsUTF32ToUTF8 -cupsUTF8ToCharset -cupsUTF8ToUTF32 -cupsUser -cupsWriteRequestData -httpAcceptConnection -httpAddCredential -httpAddrAny -httpAddrClose -httpAddrConnect -httpAddrCopyList -httpAddrEqual -httpAddrFamily -httpAddrFreeList -httpAddrGetList -httpAddrLength -httpAddrListen -httpAddrLocalhost -httpAddrLookup -httpAddrPort -httpAddrString -httpAssembleURI -httpAssembleURIf -httpAssembleUUID -httpBlocking -httpCheck -httpClearCookie -httpClearFields -httpClose -httpCompareCredentials -httpConnect -httpConnect2 -httpConnectEncrypt -httpCopyCredentials -httpCredentialsAreValidForName -httpCredentialsGetExpiration -httpCredentialsGetTrust -httpCredentialsString -httpDecode64 -httpDecode64_2 -httpDelete -httpEncode64 -httpEncode64_2 -httpEncryption -httpError -httpFieldValue -httpFlush -httpFlushWrite -httpFreeCredentials -httpGet -httpGetActivity -httpGetAddress -httpGetAuthString -httpGetBlocking -httpGetContentEncoding -httpGetCookie -httpGetDateString -httpGetDateString2 -httpGetDateTime -httpGetEncryption -httpGetExpect -httpGetFd -httpGetField -httpGetHostByName -httpGetHostname -httpGetKeepAlive -httpGetLength -httpGetLength2 -httpGetPending -httpGetReady -httpGetRemaining -httpGetStatus -httpGetSubField -httpGetSubField2 -httpGets -httpHead -httpInitialize -httpIsChunked -httpIsEncrypted -httpLoadCredentials -httpMD5 -httpMD5Final -httpMD5String -httpOptions -httpPeek -httpPost -httpPrintf -httpPut -httpRead -httpRead2 -httpReadRequest -httpReconnect -httpReconnect2 -httpResolveHostname -httpSaveCredentials -httpSeparate -httpSeparate2 -httpSeparateURI -httpSetCookie -httpSetCredentials -httpSetDefaultField -httpSetExpect -httpSetField -httpSetKeepAlive -httpSetLength -httpSetTimeout -httpShutdown -httpStateString -httpStatus -httpTrace -httpUpdate -httpURIStatusString -httpWait -httpWrite -httpWrite2 -httpWriteResponse -ippAddBoolean -ippAddBooleans -ippAddCollection -ippAddCollections -ippAddDate -ippAddInteger -ippAddIntegers -ippAddOctetString -ippAddOutOfBand -ippAddRange -ippAddRanges -ippAddResolution -ippAddResolutions -ippAddSeparator -ippAddString -ippAddStringf -ippAddStringfv -ippAddStrings -ippAttributeString -ippContainsInteger -ippContainsString -ippCopyAttribute -ippCopyAttributes -ippCreateRequestedArray -ippDateToTime -ippDelete -ippDeleteAttribute -ippDeleteValues -ippEnumString -ippEnumValue -ippErrorString -ippErrorValue -ippFindAttribute -ippFindNextAttribute -ippFirstAttribute -ippGetBoolean -ippGetCollection -ippGetCount -ippGetDate -ippGetGroupTag -ippGetInteger -ippGetName -ippGetOctetString -ippGetOperation -ippGetRange -ippGetRequestId -ippGetResolution -ippGetState -ippGetStatusCode -ippGetString -ippGetValueTag -ippGetVersion -ippLength -ippNew -ippNewRequest -ippNewResponse -ippNextAttribute -ippOpString -ippOpValue -ippPort -ippRead -ippReadFile -ippReadIO -ippSetPort -ippSetBoolean -ippSetCollection -ippSetDate -ippSetGroupTag -ippSetInteger -ippSetName -ippSetOctetString -ippSetOperation -ippSetRange -ippSetRequestId -ippSetResolution -ippSetState -ippSetStatusCode -ippSetString -ippSetStringf -ippSetStringfv -ippSetValueTag -ippSetVersion -ippStateString -ippTagString -ippTagValue -ippTimeToDate -ippValidateAttribute -ippValidateAttributes -ippWrite -ippWriteFile -ippWriteIO -ppdClose -ppdCollect -ppdCollect2 -ppdConflicts -ppdEmit -ppdEmitAfterOrder -ppdEmitFd -ppdEmitJCL -ppdEmitJCLEnd -ppdEmitString -ppdErrorString -ppdFindAttr -ppdFindChoice -ppdFindCustomOption -ppdFindCustomParam -ppdFindMarkedChoice -ppdFindNextAttr -ppdFindOption -ppdFirstCustomParam -ppdFirstOption -ppdIsMarked -ppdLastError -ppdLocalize -ppdMarkDefaults -ppdMarkOption -ppdNextCustomParam -ppdNextOption -ppdOpen -ppdOpen2 -ppdOpenFd -ppdOpenFile -ppdPageLength -ppdPageSize -ppdPageWidth -ppdSetConformance -pwgFormatSizeName -pwgInitSize -pwgMediaForLegacy -pwgMediaForPPD -pwgMediaForPWG -pwgMediaForSize +LIBRARY libcups2 +VERSION 2.11 +EXPORTS +_cupsArrayAddStrings +_cupsArrayNewStrings +_cupsBufferGet +_cupsBufferRelease +_cupsCharmapFlush +_cupsConnect +_cupsEncodingName +_cupsGet1284Values +_cupsGetDestResource +_cupsGetDests +_cupsGetPassword +_cupsGlobalLock +_cupsGlobalUnlock +_cupsGlobals +_cupsLangPrintError +_cupsLangPrintf +_cupsLangPuts +_cupsLangString +_cupsMD5Append +_cupsMD5Finish +_cupsMD5Init +_cupsMessageFree +_cupsMessageLoad +_cupsMessageLookup +_cupsMessageNew +_cupsMutexInit +_cupsMutexLock +_cupsMutexUnlock +_cupsNextDelay +_cupsRWInit +_cupsRWLockRead +_cupsRWLockWrite +_cupsRWUnlock +_cupsSNMPClose +_cupsSNMPCopyOID +_cupsSNMPDefaultCommunity +_cupsSNMPIsOID +_cupsSNMPIsOIDPrefixed +_cupsSNMPOIDToString +_cupsSNMPOpen +_cupsSNMPRead +_cupsSNMPSetDebug +_cupsSNMPStringToOID +_cupsSNMPWalk +_cupsSNMPWrite +_cupsSetDefaults +_cupsSetError +_cupsSetHTTPError +_cupsSetLocale +_cupsStrAlloc +_cupsStrDate +_cupsStrFlush +_cupsStrFormatd +_cupsStrFree +_cupsStrRetain +_cupsStrScand +_cupsStrStatistics +_cupsThreadCreate +_cupsUserDefault +_cups_strcasecmp +_cups_strcpy +_cups_strcpy +_cups_strlcat +_cups_strlcpy +_cups_strncasecmp +_httpAddrSetPort +_httpCreateCredentials +_httpDecodeURI +_httpDisconnect +_httpEncodeURI +_httpFreeCredentials +_httpResolveURI +_httpStatus +_httpTLSInitialize +_httpTLSPending +_httpTLSRead +_httpTLSStart +_httpTLSStop +_httpTLSWrite +_httpUpdate +_httpWait +_ippCheckOptions +_ippFindOption +_ppdCacheCreateWithFile +_ppdCacheCreateWithPPD +_ppdCacheDestroy +_ppdCacheGetBin +_ppdCacheGetFinishingOptions +_ppdCacheGetFinishingValues +_ppdCacheGetInputSlot +_ppdCacheGetMediaType +_ppdCacheGetOutputBin +_ppdCacheGetPageSize +_ppdCacheGetSize +_ppdCacheGetSource +_ppdCacheGetType +_ppdCacheWriteFile +_ppdFreeLanguages +_ppdGetEncoding +_ppdGetLanguages +_ppdHashName +_ppdLocalizedAttr +_ppdNormalizeMakeAndModel +_ppdOpen +_ppdOpenFile +_ppdParseOptions +_pwgGenerateSize +_pwgInitSize +_pwgInputSlotForSource +_pwgMediaForLegacy +_pwgMediaForPPD +_pwgMediaForPWG +_pwgMediaForSize +_pwgMediaNearSize +_pwgMediaTable +_pwgMediaTypeForType +_pwgPageSizeForMedia +cupsAddDest +cupsAddOption +cupsAdminCreateWindowsPPD +cupsAdminExportSamba +cupsAdminGetServerSettings +cupsAdminSetServerSettings +cupsArrayAdd +cupsArrayClear +cupsArrayCount +cupsArrayCurrent +cupsArrayDelete +cupsArrayDup +cupsArrayFind +cupsArrayFirst +cupsArrayGetIndex +cupsArrayGetInsert +cupsArrayIndex +cupsArrayInsert +cupsArrayLast +cupsArrayNew +cupsArrayNew2 +cupsArrayNew3 +cupsArrayNext +cupsArrayPrev +cupsArrayRemove +cupsArrayRestore +cupsArraySave +cupsArrayUserData +cupsCancelDestJob +cupsCancelJob +cupsCancelJob2 +cupsCharsetToUTF8 +cupsCheckDestSupported +cupsCloseDestJob +cupsConnectDest +cupsCopyDest +cupsCopyDestConflicts +cupsCopyDestInfo +cupsCreateDestJob +cupsCreateJob +cupsDirClose +cupsDirOpen +cupsDirRead +cupsDirRewind +cupsDoAuthentication +cupsDoFileRequest +cupsDoIORequest +cupsDoRequest +cupsEncodeOptions +cupsEncodeOptions2 +cupsEncryption +cupsEnumDests +cupsFileClose +cupsFileCompression +cupsFileEOF +cupsFileFind +cupsFileFlush +cupsFileGetChar +cupsFileGetConf +cupsFileGetLine +cupsFileGets +cupsFileLock +cupsFileNumber +cupsFileOpen +cupsFileOpenFd +cupsFilePeekChar +cupsFilePrintf +cupsFilePutChar +cupsFilePutConf +cupsFilePuts +cupsFileRead +cupsFileRewind +cupsFileSeek +cupsFileStderr +cupsFileStdin +cupsFileStdout +cupsFileTell +cupsFileUnlock +cupsFileWrite +cupsFindDestDefault +cupsFindDestReady +cupsFindDestSupported +cupsFinishDestDocument +cupsFinishDocument +cupsFreeDestInfo +cupsFreeDests +cupsFreeJobs +cupsFreeOptions +cupsGetClasses +cupsGetConflicts +cupsGetDefault +cupsGetDefault2 +cupsGetDest +cupsGetDestMediaByIndex +cupsGetDestMediaByName +cupsGetDestMediaBySize +cupsGetDestMediaCount +cupsGetDestMediaDefault +cupsGetDestWithURI +cupsGetDests +cupsGetDests2 +cupsGetDevices +cupsGetFd +cupsGetFile +cupsGetJobs +cupsGetJobs2 +cupsGetNamedDest +cupsGetOption +cupsGetPPD +cupsGetPPD2 +cupsGetPPD3 +cupsGetPassword +cupsGetPassword2 +cupsGetPrinters +cupsGetResponse +cupsGetServerPPD +cupsLangDefault +cupsLangEncoding +cupsLangFlush +cupsLangFree +cupsLangGet +cupsLastError +cupsLastErrorString +cupsLocalizeDestMedia +cupsLocalizeDestOption +cupsLocalizeDestValue +cupsMakeServerCredentials +cupsMarkOptions +cupsNotifySubject +cupsNotifyText +cupsParseOptions +cupsPrintFile +cupsPrintFile2 +cupsPrintFiles +cupsPrintFiles2 +cupsPutFd +cupsPutFile +cupsReadResponseData +cupsRemoveDest +cupsRemoveOption +cupsResolveConflicts +cupsSendRequest +cupsServer +cupsSetClientCertCB +cupsSetCredentials +cupsSetDefaultDest +cupsSetDests +cupsSetDests2 +cupsSetEncryption +cupsSetPasswordCB +cupsSetPasswordCB2 +cupsSetServer +cupsSetServerCertCB +cupsSetServerCredentials +cupsSetUser +cupsSetUserAgent +cupsStartDestDocument +cupsStartDocument +cupsTempFd +cupsTempFile +cupsTempFile2 +cupsUTF32ToUTF8 +cupsUTF8ToCharset +cupsUTF8ToUTF32 +cupsUser +cupsUserAgent +cupsWriteRequestData +httpAcceptConnection +httpAddCredential +httpAddrAny +httpAddrClose +httpAddrConnect +httpAddrConnect2 +httpAddrCopyList +httpAddrEqual +httpAddrFamily +httpAddrFreeList +httpAddrGetList +httpAddrLength +httpAddrListen +httpAddrLocalhost +httpAddrLookup +httpAddrPort +httpAddrString +httpAssembleURI +httpAssembleURIf +httpAssembleUUID +httpBlocking +httpCheck +httpClearCookie +httpClearFields +httpClose +httpCompareCredentials +httpConnect +httpConnect2 +httpConnectEncrypt +httpCopyCredentials +httpCredentialsAreValidForName +httpCredentialsGetExpiration +httpCredentialsGetTrust +httpCredentialsString +httpDecode64 +httpDecode64_2 +httpDelete +httpEncode64 +httpEncode64_2 +httpEncryption +httpError +httpFieldValue +httpFlush +httpFlushWrite +httpFreeCredentials +httpGet +httpGetActivity +httpGetAddress +httpGetAuthString +httpGetBlocking +httpGetContentEncoding +httpGetCookie +httpGetDateString +httpGetDateString2 +httpGetDateTime +httpGetEncryption +httpGetExpect +httpGetFd +httpGetField +httpGetHostByName +httpGetHostname +httpGetKeepAlive +httpGetLength +httpGetLength2 +httpGetPending +httpGetReady +httpGetRemaining +httpGetState +httpGetStatus +httpGetSubField +httpGetSubField2 +httpGetVersion +httpGets +httpHead +httpInitialize +httpIsChunked +httpIsEncrypted +httpLoadCredentials +httpMD5 +httpMD5Final +httpMD5String +httpOptions +httpPeek +httpPost +httpPrintf +httpPut +httpRead +httpRead2 +httpReadRequest +httpReconnect +httpReconnect2 +httpResolveHostname +httpSaveCredentials +httpSeparate +httpSeparate2 +httpSeparateURI +httpSetAuthString +httpSetCookie +httpSetCredentials +httpSetDefaultField +httpSetExpect +httpSetField +httpSetKeepAlive +httpSetLength +httpSetTimeout +httpShutdown +httpStateString +httpStatus +httpTrace +httpURIStatusString +httpUpdate +httpWait +httpWrite +httpWrite2 +httpWriteResponse +ippAddBoolean +ippAddBooleans +ippAddCollection +ippAddCollections +ippAddDate +ippAddInteger +ippAddIntegers +ippAddOctetString +ippAddOutOfBand +ippAddRange +ippAddRanges +ippAddResolution +ippAddResolutions +ippAddSeparator +ippAddString +ippAddStringf +ippAddStringfv +ippAddStrings +ippAttributeString +ippContainsInteger +ippContainsString +ippCopyAttribute +ippCopyAttributes +ippCreateRequestedArray +ippDateToTime +ippDelete +ippDeleteAttribute +ippDeleteValues +ippEnumString +ippEnumValue +ippErrorString +ippErrorValue +ippFindAttribute +ippFindNextAttribute +ippFirstAttribute +ippGetBoolean +ippGetCollection +ippGetCount +ippGetDate +ippGetGroupTag +ippGetInteger +ippGetName +ippGetOctetString +ippGetOperation +ippGetRange +ippGetRequestId +ippGetResolution +ippGetState +ippGetStatusCode +ippGetString +ippGetValueTag +ippGetVersion +ippLength +ippNew +ippNewRequest +ippNewResponse +ippNextAttribute +ippOpString +ippOpValue +ippPort +ippRead +ippReadFile +ippReadIO +ippSetBoolean +ippSetCollection +ippSetDate +ippSetGroupTag +ippSetInteger +ippSetName +ippSetOctetString +ippSetOperation +ippSetPort +ippSetRange +ippSetRequestId +ippSetResolution +ippSetState +ippSetStatusCode +ippSetString +ippSetStringf +ippSetStringfv +ippSetValueTag +ippSetVersion +ippStateString +ippTagString +ippTagValue +ippTimeToDate +ippValidateAttribute +ippValidateAttributes +ippWrite +ippWriteFile +ippWriteIO +ppdClose +ppdCollect +ppdCollect2 +ppdConflicts +ppdEmit +ppdEmitAfterOrder +ppdEmitFd +ppdEmitJCL +ppdEmitJCLEnd +ppdEmitString +ppdErrorString +ppdFindAttr +ppdFindChoice +ppdFindCustomOption +ppdFindCustomParam +ppdFindMarkedChoice +ppdFindNextAttr +ppdFindOption +ppdFirstCustomParam +ppdFirstOption +ppdInstallableConflict +ppdIsMarked +ppdLastError +ppdLocalize +ppdLocalizeAttr +ppdLocalizeIPPReason +ppdLocalizeMarkerName +ppdMarkDefaults +ppdMarkOption +ppdNextCustomParam +ppdNextOption +ppdOpen +ppdOpen2 +ppdOpenFd +ppdOpenFile +ppdPageLength +ppdPageSize +ppdPageSizeLimits +ppdPageWidth +ppdSetConformance +pwgFormatSizeName +pwgInitSize +pwgMediaForLegacy +pwgMediaForPPD +pwgMediaForPWG +pwgMediaForSize