Okay, a little (unsophisticated) data mining in sample, example, sampleapp, etc. directories. This is without regard to "which API", but does include android/java examples:
Two headers are #include-ed that don't seem to exist at all: Arduino.h ElevatorServer.h (in resource/IPCA/samples/ElevatorServer - such a header exists but name is all lower cased) 31 files are #include-ed that are not copied to out/: CoapHttpHandler.h cacommon.h cacommonutil.h casecurityinterface.h cathreadpool.h ipca.h logger.h mbedtls/config.h mbedtls/pem.h mbedtls/ssl_ciphersuites.h mbedtls/x509_csr.h occertutility.h occloudprovisioning.h ocprovisioningmanager.h ocrandom.h octhread.h oic_malloc.h oic_string.h oxmjustworks.h oxmrandompin.h oxmverifycommon.h payload_logging.h pinoxmcommon.h plugininterface.h pmtypes.h pmutility.h rd_server.h securevirtualresourcetypes.h srmutility.h utils.h utlist.h note names like config.h and utils.h are far from ideal as they appear more than once in the code base. And nine files are #include-ed that are not copied to out/, with the extra caveat that they appear in an "internal" subdirectory - these are all security headers: acl_logging.h aclresource.h credresource.h crl_logging.h crlresource.h doxmresource.h psinterface.h secureresourceprovider.h srmresourcestrings.h the latter are in these locations: resource/csdk/security/include/internal/acl_logging.h resource/csdk/security/include/internal/aclresource.h resource/csdk/security/include/internal/credresource.h resource/csdk/security/include/internal/crl_logging.h resource/csdk/security/include/internal/crlresource.h resource/csdk/security/include/internal/doxmresource.h resource/csdk/security/include/internal/psinterface.h resource/csdk/security/provisioning/include/internal/secureresourceprovider.h resource/csdk/security/include/internal/srmresourcestrings.h There are probably many errors in this due to the lack of subtlety - just doing a bunch of find/grep, not examining the actual code. Still, it seems we're a ways from the ideal of "headers in out/ represent the public APIs, and samples should just build against exported headers/libraries".
