/* * Copyright (c) 2014, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * */ #include #include namespace osquery { namespace tables { #define CTL_MAX_VALUE 128 #ifndef CTL_DEBUG_MAXID #define CTL_DEBUG_MAXID (CTL_MAXNAME * 2) #endif std::string stringFromMIB(const int* oid, size_t oid_size); /// Must be implemented by the platform. void genAllControls(QueryData& results, const std::map& config, const std::string& subsystem); /// Must be implemented by the platform. void genControlInfo(int* oid, size_t oid_size, QueryData& results, const std::map& config); /// Must be implemented by the platform. void genControlInfoFromName(const std::string& name, QueryData& results, const std::map& config); } }