michael@0: /* michael@0: * Copyright (C) 2009 The Android Open Source Project michael@0: * michael@0: * Licensed under the Apache License, Version 2.0 (the "License"); michael@0: * you may not use this file except in compliance with the License. michael@0: * You may obtain a copy of the License at michael@0: * michael@0: * http://www.apache.org/licenses/LICENSE-2.0 michael@0: * michael@0: * Unless required by applicable law or agreed to in writing, software michael@0: * distributed under the License is distributed on an "AS IS" BASIS, michael@0: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. michael@0: * See the License for the specific language governing permissions and michael@0: * limitations under the License. michael@0: */ michael@0: michael@0: #ifndef _ANDROID_CUTILS_LOGD_H michael@0: #define _ANDROID_CUTILS_LOGD_H michael@0: michael@0: /* the stable/frozen log-related definitions have been michael@0: * moved to this header, which is exposed by the NDK michael@0: */ michael@0: #include michael@0: michael@0: /* the rest is only used internally by the system */ michael@0: #include michael@0: #include michael@0: #include michael@0: #include michael@0: #include michael@0: #ifdef HAVE_PTHREADS michael@0: #include michael@0: #endif michael@0: #include michael@0: #include michael@0: michael@0: #ifdef __cplusplus michael@0: extern "C" { michael@0: #endif michael@0: michael@0: int __android_log_bwrite(int32_t tag, const void *payload, size_t len); michael@0: int __android_log_btwrite(int32_t tag, char type, const void *payload, michael@0: size_t len); michael@0: michael@0: #ifdef __cplusplus michael@0: } michael@0: #endif michael@0: michael@0: #endif /* _LOGD_H */