Changeset 860 for vendor/current/lib/tsocket/tsocket.h
- Timestamp:
- May 12, 2014, 8:58:38 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/lib/tsocket/tsocket.h
r740 r860 627 627 char *tsocket_address_unix_path(const struct tsocket_address *addr, 628 628 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 */ 648 bool tdgram_bsd_optimize_recvfrom(struct tdgram_context *dgram, 649 bool on); 629 650 630 651 #ifdef DOXYGEN … … 688 709 _tdgram_unix_socket(local, remote, mem_ctx, dgram, __location__) 689 710 #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 */ 730 bool tstream_bsd_optimize_readv(struct tstream_context *stream, 731 bool on); 690 732 691 733 /**
Note:
See TracChangeset
for help on using the changeset viewer.