Ignore:
Timestamp:
2014-04-16T17:14:06Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f857e8b
Parents:
dba3e2c (diff), 70b570c (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/dist/src/c/demos/edit/sheet_impl.h

    rdba3e2c r8b863a62  
    2727 */
    2828
    29 /** @addtogroup inet
     29/** @addtogroup edit
    3030 * @{
    3131 */
    3232/**
    3333 * @file
    34  * @brief
    3534 */
    3635
    37 #include <assert.h>
    38 #include <bitops.h>
    39 #include <sys/types.h>
    40 #include "inet_util.h"
     36#ifndef SHEET_IMPL_H__
     37#define SHEET_IMPL_H__
    4138
    42 uint32_t inet_netmask(int bits)
    43 {
    44         assert(bits >= 0);
    45         assert(bits < 32);
     39#include "sheet.h"
    4640
    47         if (bits == 0)
    48                 return 0;
    49         else
    50                 return BIT_RANGE(uint32_t, 31, 31 - (bits - 1));
    51 }
     41/** Sheet */
     42struct sheet {
     43        /* Note: This structure is opaque for the user. */
     44
     45        size_t text_size;
     46        size_t dbuf_size;
     47        char *data;
     48
     49        list_t tags;
     50};
     51
     52#endif
    5253
    5354/** @}
Note: See TracChangeset for help on using the changeset viewer.