Commit e9ffaefb authored by Dorian Guillois's avatar Dorian Guillois
Browse files

Replace C header by C++ header.

parent 914c9d85
......@@ -21,7 +21,7 @@
#ifndef CCCP_CHECKS_TIMEOUT_HH
# define CCCP_CHECKS_TIMEOUT_HH
# include <stddef.h>
# include <cstddef>
# include "com/centreon/connector/perl/namespace.hh"
# include "com/centreon/task.hh"
......
......@@ -21,8 +21,8 @@
#ifndef CCCP_ORDERS_LISTENER_HH
# define CCCP_ORDERS_LISTENER_HH
# include <ctime>
# include <string>
# include <time.h>
# include "com/centreon/connector/perl/namespace.hh"
CCCP_BEGIN()
......
......@@ -18,9 +18,9 @@
** <http://www.gnu.org/licenses/>.
*/
#include <csignal>
#include <cstdlib>
#include <memory>
#include <signal.h>
#include <stdlib.h>
#include "com/centreon/connector/perl/checks/check.hh"
#include "com/centreon/connector/perl/checks/listener.hh"
#include "com/centreon/connector/perl/checks/result.hh"
......
......@@ -18,8 +18,8 @@
** <http://www.gnu.org/licenses/>.
*/
#include <cstdlib>
#include <iostream>
#include <stdlib.h>
#include <unistd.h>
#include <EXTERN.h>
#include <perl.h>
......
......@@ -18,12 +18,12 @@
** <http://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <cerrno>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <sstream>
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "com/centreon/connector/perl/embedded.hh"
#include "com/centreon/connector/perl/main_io.hh"
......
......@@ -18,7 +18,7 @@
** <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
#include <cstdlib>
#include "com/centreon/connector/perl/multiplexer.hh"
using namespace com::centreon::connector::perl;
......
......@@ -18,9 +18,9 @@
** <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
#include <cstdlib>
#include <cstring>
#include <string>
#include <string.h>
#include "com/centreon/connector/perl/orders/parser.hh"
#include "com/centreon/exceptions/basic.hh"
#include "com/centreon/logging/logger.hh"
......
......@@ -18,8 +18,8 @@
** <http://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <string.h>
#include <cerrno>
#include <cstring>
#include <unistd.h>
#include "com/centreon/connector/perl/pipe_handle.hh"
#include "com/centreon/exceptions/basic.hh"
......
......@@ -18,11 +18,11 @@
** <http://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <cerrno>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <memory>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/wait.h>
#include "com/centreon/concurrency/locker.hh"
#include "com/centreon/concurrency/mutex.hh"
......
......@@ -18,10 +18,10 @@
** <http://www.gnu.org/licenses/>.
*/
#include <cstdio>
#include <cstring>
#include <iostream>
#include <stdio.h>
#include <string>
#include <string.h>
#include <sys/wait.h>
#include "com/centreon/connector/perl/embedded_perl.hh"
#include "com/centreon/io/file_stream.hh"
......
......@@ -18,10 +18,10 @@
** <http://www.gnu.org/licenses/>.
*/
#include <cstdio>
#include <cstring>
#include <iostream>
#include <stdio.h>
#include <string>
#include <string.h>
#include <sys/wait.h>
#include "com/centreon/connector/perl/embedded_perl.hh"
#include "com/centreon/io/file_stream.hh"
......
......@@ -23,7 +23,7 @@
# include <list>
# include <string>
# include <time.h>
# include <ctime>
# include "com/centreon/connector/ssh/checks/listener.hh"
# include "com/centreon/connector/ssh/namespace.hh"
# include "com/centreon/connector/ssh/sessions/listener.hh"
......
......@@ -21,7 +21,7 @@
#ifndef CCCS_CHECKS_TIMEOUT_HH
# define CCCS_CHECKS_TIMEOUT_HH
# include <stddef.h>
# include <cstddef>
# include "com/centreon/connector/ssh/namespace.hh"
# include "com/centreon/task.hh"
......
......@@ -21,9 +21,9 @@
#ifndef CCCS_ORDERS_LISTENER_HH
# define CCCS_ORDERS_LISTENER_HH
# include <ctime>
# include <list>
# include <string>
# include <time.h>
# include "com/centreon/connector/ssh/namespace.hh"
CCCS_BEGIN()
......
......@@ -18,9 +18,9 @@
** <http://www.gnu.org/licenses/>.
*/
#include <cstdio>
#include <cstdlib>
#include <memory>
#include <stdio.h>
#include <stdlib.h>
#include "com/centreon/connector/ssh/checks/check.hh"
#include "com/centreon/connector/ssh/checks/timeout.hh"
#include "com/centreon/connector/ssh/multiplexer.hh"
......
......@@ -18,15 +18,15 @@
** <http://www.gnu.org/licenses/>.
*/
#include <errno.h>
#include <cerrno>
#include <csignal>
#include <cstdio>
#include <cstdlib>
#ifdef LIBSSH2_WITH_LIBGCRYPT
# include <gcrypt.h>
#endif // LIBSSH2_WITH_LIBGCRYPT
#include <iostream>
#include <libssh2.h>
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
#include "com/centreon/connector/ssh/multiplexer.hh"
#include "com/centreon/connector/ssh/options.hh"
#include "com/centreon/connector/ssh/policy.hh"
......
......@@ -18,7 +18,7 @@
** <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
#include <cstdlib>
#include "com/centreon/connector/ssh/multiplexer.hh"
using namespace com::centreon::connector::ssh;
......
......@@ -21,13 +21,13 @@
#ifdef _WIN32
# include <windows.h>
#else
# include <errno.h>
# include <cerrno>
# include <cstring>
# include <pwd.h>
# include <string.h>
# include <unistd.h>
#endif // Windows or POSIX.
#include <cstdlib>
#include <getopt.h>
#include <stdlib.h>
#include "com/centreon/exceptions/basic.hh"
#include "com/centreon/misc/command_line.hh"
#include "com/centreon/connector/ssh/orders/options.hh"
......
......@@ -18,9 +18,9 @@
** <http://www.gnu.org/licenses/>.
*/
#include <stdlib.h>
#include <cstdlib>
#include <cstring>
#include <string>
#include <string.h>
#include "com/centreon/connector/ssh/orders/parser.hh"
#include "com/centreon/connector/ssh/orders/options.hh"
#include "com/centreon/exceptions/basic.hh"
......
......@@ -18,9 +18,9 @@
** <http://www.gnu.org/licenses/>.
*/
#include <cstdio>
#include <cstdlib>
#include <memory>
#include <stdio.h>
#include <stdlib.h>
#include "com/centreon/concurrency/locker.hh"
#include "com/centreon/connector/ssh/checks/check.hh"
#include "com/centreon/connector/ssh/checks/result.hh"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment