Changeset 10de842 in mainline for abi/include/_bits/opaque_handle.h


Ignore:
Timestamp:
2018-01-04T19:28:42Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0d0b319
Parents:
db3089d
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:28:42)
Message:

Change the way errno_t is defined, and put libhttp and libext4 error codes in <errno.h>.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • abi/include/_bits/opaque_handle.h

    rdb3089d r10de842  
    11/*
    2  * Copyright (c) 2013 Martin Sucha
     2 * Copyright (c) 2017 CZ.NIC, z.s.p.o.
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 /** @addtogroup http
     29/* Authors:
     30 *      Jiří Zárevúcky (jzr) <zarevucky.jiri@gmail.com>
     31 */
     32
     33/** @addtogroup bits
    3034 * @{
    3135 */
    32 /**
    33  * @file
    34  */
    3536
    36 #ifndef HTTP_ERRNO_H_
    37 #define HTTP_ERRNO_H_
     37#ifndef _BITS_OPAQUE_HANDLE_H_
     38#define _BITS_OPAQUE_HANDLE_H_
    3839
    39 #include <errno.h>
    40 
    41 #define HTTP_EMULTIPLE_HEADERS -20001
    42 #define HTTP_EMISSING_HEADER -20002
    43 #define HTTP_EPARSE -20003
     40#define opaque_handle(__name) typedef struct __opaque_##__name *__name
    4441
    4542#endif
Note: See TracChangeset for help on using the changeset viewer.