mv ramlog.h and syslog.h to new include/nuttx/syslog

This commit is contained in:
Gregory Nutt 2014-04-10 09:29:30 -06:00
parent 6be62a7ef3
commit 2fcc57edb0
14 changed files with 28 additions and 28 deletions

View File

@ -7156,4 +7156,6 @@
enabled. Noted by Librae (2014-4-8). enabled. Noted by Librae (2014-4-8).
* configs/*/defconfig: Increase the number of preallocated watchdogs * configs/*/defconfig: Increase the number of preallocated watchdogs
in all configurations that use networking or USB (2014-3-9). in all configurations that use networking or USB (2014-3-9).
* include/nuttx/syslog/syslog.h and ramlog.h: Move syslog.h and
ramlog.h to include/nutt/syslog (2014-4-10).

View File

@ -43,7 +43,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/ramlog.h> #include <nuttx/syslog/ramlog.h>
#include <arch/board/board.h> #include <arch/board/board.h>

View File

@ -43,7 +43,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/ramlog.h> #include <nuttx/syslog/ramlog.h>
#include <arch/board/board.h> #include <arch/board/board.h>

View File

@ -43,7 +43,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/ramlog.h> #include <nuttx/syslog/ramlog.h>
#include "up_arch.h" #include "up_arch.h"
#include "up_internal.h" #include "up_internal.h"

View File

@ -43,7 +43,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/ramlog.h> #include <nuttx/syslog/ramlog.h>
#include <arch/board/board.h> #include <arch/board/board.h>

View File

@ -43,7 +43,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/ramlog.h> #include <nuttx/syslog/ramlog.h>
#include "up_arch.h" #include "up_arch.h"
#include "up_internal.h" #include "up_internal.h"

View File

@ -43,7 +43,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/ramlog.h> #include <nuttx/syslog/ramlog.h>
#include "up_internal.h" #include "up_internal.h"

View File

@ -43,7 +43,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/ramlog.h> #include <nuttx/syslog/ramlog.h>
#include <arch/board/board.h> #include <arch/board/board.h>

View File

@ -43,7 +43,7 @@
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/ramlog.h> #include <nuttx/syslog/ramlog.h>
#include <arch/board/board.h> #include <arch/board/board.h>

View File

@ -56,7 +56,7 @@
#include <nuttx/kmalloc.h> #include <nuttx/kmalloc.h>
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/ramlog.h> #include <nuttx/syslog/ramlog.h>
#include <arch/irq.h> #include <arch/irq.h>
@ -638,7 +638,6 @@ errout:
* *
* Description: * Description:
* Create the RAM logging device and register it at the specified path. * Create the RAM logging device and register it at the specified path.
* Mostly likely this path will be /dev/console
* *
****************************************************************************/ ****************************************************************************/
@ -683,8 +682,7 @@ int ramlog_register(FAR const char *devpath, FAR char *buffer, size_t buflen)
* Name: ramlog_consoleinit * Name: ramlog_consoleinit
* *
* Description: * Description:
* Create the RAM logging device and register it at the specified path. * Use a pre-allocated RAM logging device and register it at /dev/console
* Mostly likely this path will be /dev/console
* *
****************************************************************************/ ****************************************************************************/
@ -703,8 +701,8 @@ int ramlog_consoleinit(void)
* Name: ramlog_sysloginit * Name: ramlog_sysloginit
* *
* Description: * Description:
* Create the RAM logging device and register it at the specified path. * Use a pre-allocated RAM logging device and register it at the path
* Mostly likely this path will be CONFIG_RAMLOG_SYSLOG * specified by CONFIG_RAMLOG_SYSLOG
* *
* If CONFIG_RAMLOG_CONSOLE is also defined, then this functionality is * If CONFIG_RAMLOG_CONSOLE is also defined, then this functionality is
* performed when ramlog_consoleinit() is called. * performed when ramlog_consoleinit() is called.

View File

@ -51,7 +51,7 @@
#include <nuttx/fs/fs.h> #include <nuttx/fs/fs.h>
#include <nuttx/arch.h> #include <nuttx/arch.h>
#include <nuttx/syslog.h> #include <nuttx/syslog/syslog.h>
#include "fs_internal.h" #include "fs_internal.h"

View File

@ -1,8 +1,8 @@
/**************************************************************************** /****************************************************************************
* include/nuttx/ramlog.h * include/nuttx/syslog/ramlog.h
* The RAM logging driver * The RAM logging driver
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -46,15 +46,15 @@
* configuration. * configuration.
*/ */
#ifndef __INCLUDE_NUTTX_RAMLOG_H #ifndef __INCLUDE_NUTTX_SYSLOG_RAMLOG_H
#define __INCLUDE_NUTTX_RAMLOG_H #define __INCLUDE_NUTTX_SYSLOG_RAMLOG_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
****************************************************************************/ ****************************************************************************/
#include <nuttx/config.h> #include <nuttx/config.h>
#include <nuttx/syslog.h> #include <nuttx/syslog/syslog.h>
#ifdef CONFIG_RAMLOG #ifdef CONFIG_RAMLOG
@ -205,4 +205,4 @@ EXTERN int ramlog_sysloginit(void);
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* CONFIG_RAMLOG */ #endif /* CONFIG_RAMLOG */
#endif /* __INCLUDE_NUTTX_RAMLOG_H */ #endif /* __INCLUDE_NUTTX_SYSLOG_RAMLOG_H */

View File

@ -1,8 +1,8 @@
/**************************************************************************** /****************************************************************************
* include/nuttx/syslog.h * include/nuttx/syslog/syslog.h
* The NuttX SYSLOGing interface * The NuttX SYSLOGing interface
* *
* Copyright (C) 2012 Gregory Nutt. All rights reserved. * Copyright (C) 2012, 2014 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org> * Author: Gregory Nutt <gnutt@nuttx.org>
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
@ -34,8 +34,8 @@
* *
****************************************************************************/ ****************************************************************************/
#ifndef __INCLUDE_NUTTX_SYSLOG_H #ifndef __INCLUDE_NUTTX_SYSLOG_SYSLOG_H
#define __INCLUDE_NUTTX_SYSLOG_H #define __INCLUDE_NUTTX_SYSLOG_SYSLOG_H
/**************************************************************************** /****************************************************************************
* Included Files * Included Files
@ -56,7 +56,7 @@
* *
* 1. A RAM SYSLOGing device that will log data into a circular buffer * 1. A RAM SYSLOGing device that will log data into a circular buffer
* that can be dumped using the NSH dmesg command. This device is * that can be dumped using the NSH dmesg command. This device is
* described in the include/nuttx/ramlog.h header file. * described in the include/nuttx/syslog/ramlog.h header file.
* *
* 2. And a generic character device that may be used as the SYSLOG. The * 2. And a generic character device that may be used as the SYSLOG. The
* generic device interfaces are described in this file. A disadvantage * generic device interfaces are described in this file. A disadvantage
@ -133,4 +133,4 @@ EXTERN int syslog_putc(int ch);
#endif #endif
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#endif /* __INCLUDE_NUTTX_SYSLOG_H */ #endif /* __INCLUDE_NUTTX_SYSLOG_SYSLOG_H */

View File

@ -43,7 +43,7 @@
#include <assert.h> #include <assert.h>
#include <errno.h> #include <errno.h>
#include <nuttx/syslog.h> #include <nuttx/syslog/syslog.h>
#include "lib_internal.h" #include "lib_internal.h"