Ignore:
Timestamp:
May 7, 2014, 4:27:19 PM (5 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, master
Children:
8fa3422
Parents:
0960fee
Message:

tests: Add locked_printf_plugin()

Add locked_vprintf(). Return an int just like printf(), etc.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/support/include/test_support.h

    r0960fee rb97bc8bc  
    1010#ifndef __TEST_SUPPORT_h
    1111#define __TEST_SUPPORT_h
     12
     13#include <stdarg.h>
    1214
    1315#ifdef __cplusplus
     
    6668/*********************************************************************/
    6769/*********************************************************************/
    68 extern void locked_print_initialize(void);
    69 extern void locked_printf(const char *fmt, ...);
    70 extern void locked_printk(const char *fmt, ...);
     70
     71void locked_print_initialize(void);
     72
     73int locked_printf(const char *fmt, ...);
     74
     75int locked_vprintf(const char *fmt, va_list ap);
     76
     77int locked_printf_plugin(void *context, const char *fmt, ...);
     78
     79void locked_printk(const char *fmt, ...);
    7180
    7281#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.