Ignore:
Timestamp:
May 12, 2014, 8:58:38 PM (11 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.6: updated vendor to latest version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/lib/tsocket/tsocket.h

    r740 r860  
    627627char *tsocket_address_unix_path(const struct tsocket_address *addr,
    628628                                TALLOC_CTX *mem_ctx);
     629
     630/**
     631 * @brief Request a syscall optimization for tdgram_recvfrom_send()
     632 *
     633 * This function is only used to reduce the amount of syscalls and
     634 * optimize performance. You should only use this if you know
     635 * what you're doing.
     636 *
     637 * The optimization is off by default.
     638 *
     639 * @param[in]  dgram    The tdgram_context of a bsd socket, if this
     640 *                      not a bsd socket the function does nothing.
     641 *
     642 * @param[in]  on       The boolean value to turn the optimization on and off.
     643 *
     644 * @return              The old boolean value.
     645 *
     646 * @see tdgram_recvfrom_send()
     647 */
     648bool tdgram_bsd_optimize_recvfrom(struct tdgram_context *dgram,
     649                                  bool on);
    629650
    630651#ifdef DOXYGEN
     
    688709        _tdgram_unix_socket(local, remote, mem_ctx, dgram, __location__)
    689710#endif
     711
     712/**
     713 * @brief Request a syscall optimization for tstream_readv_send()
     714 *
     715 * This function is only used to reduce the amount of syscalls and
     716 * optimize performance. You should only use this if you know
     717 * what you're doing.
     718 *
     719 * The optimization is off by default.
     720 *
     721 * @param[in]  stream   The tstream_context of a bsd socket, if this
     722 *                      not a bsd socket the function does nothing.
     723 *
     724 * @param[in]  on       The boolean value to turn the optimization on and off.
     725 *
     726 * @return              The old boolean value.
     727 *
     728 * @see tstream_readv_send()
     729 */
     730bool tstream_bsd_optimize_readv(struct tstream_context *stream,
     731                                bool on);
    690732
    691733/**
Note: See TracChangeset for help on using the changeset viewer.