The Y Window

Description

Y Window Team

Y Window is attempt to create portable, network transparent, text-mode windowing envioroment.


Table of Contents
1. Introduction
General Intro
Display buffers
General accumptions
2. The Protocol
Lexical layer
Gramatical layer
Authorization
3. Ytk - The Y ToolKit
Intro
YtkObject
Ypp - Ytk in C++
4. Manuals
yw_INTRO — introduction to libyw
YppButton — YppButton widget
YppClass — YppClass widget
YppGroup — YppGroup widget
YppInput — YppInput widget
YppLabel — YppLabel widget
YppWidget — YppWidget widget
YppWindow — YppWindow widget
yw_concat — concatenate 8bit strings
yw_conn_free — free connection structure
yw_conn_get_state — extensivly check state of connection
yw_conn_new — allocate and initialize memory for new connection
yw_conn_open — open new connection to server
yw_conn_queue — queue packet to send it to peer later
yw_conn_queue_and_free — queue and free packet to send it to peer later
yw_conn_queue_flush — flush (send) queued packets
yw_conn_recv — recive packet from peer
yw_conn_recv_reply — recive reply packet from peer
yw_conn_send — send packet to peer
yw_conn_send_and_free — send and free packet to peer
yw_conn_set_flag — set various connection parameters
yw_conn_state — check state of connection
yw_count_md5 — compute MD5 digest of data
yw_die — bomb horribly
yw_free — free allocated memory
yw_get_default_encoding — get default encoding for current locale
yw_lock — wait for exclusive lock
yw_lock_destroy — release any resources associated with lock
yw_lock_init — initialize YwLock structure
yw_lock_ro — wait for shared lock
yw_lock_rw — wait for exclusive lock
yw_malloc — allocate memory
yw_malloc_0 — allocate and zero memory
yw_map — lookup string in keyword -> int mapping
yw_map_free_cache — free keyword -> int mapping cache
yw_packet_append_bindata — append binary data word at the end of packet
yw_packet_append_int — append integer at the end of packet
yw_packet_append_keyword — append keyword at the end of packet
yw_packet_append_ptr — append pointer at the end of packet
yw_packet_append_string — append string at the end of packet
yw_packet_append_void — append void word at the end of packet
yw_packet_append_word — append copy of word at the end of packet
yw_packet_append_word_no_copy — append word at the end of packet
yw_packet_append_words — append bunch of words at the end of a packet
yw_packet_copy_of — make copy of given packet
yw_packet_free — release packet and associated resources
yw_packet_length — get length of packet
yw_packet_make — make entire packet at once
yw_packet_make_v — make entire packet at once
yw_packet_new — make new empty packet
yw_packet_type — get type of packet
yw_packet_word — get specified word of packet
yw_random_add — add entropy to pool
yw_random_byte — fetch one byte of entropy from pool
yw_random_get — fetch entropy from pool
yw_random_int — fetch 4 bytes of entropy from pool
yw_realloc — grow allocated memory
yw_setstr — copy string into allocated buffer releasing previous content
yw_sleep — wait a bit
yw_strchr — locate character in string
yw_strdup — copy string into allocated buffer
yw_strerror — translate libyw error code to string
yw_string_assign_cstring — assign string in given encoding
yw_string_assign_empty — assign empty string
yw_string_assign_n_chars — assign one character copied n times
yw_string_assign_one_char — assign one character long string
yw_string_assign_string — assign one string to another
yw_string_assign_utf16 — assign UTF16 string
yw_string_assign_utf32 — assign UTF32 string
yw_string_assign_utf8 — assign UTF8 string
yw_string_cmp — compare two strings
yw_string_concat — append one string at the end of another
yw_string_free — release memory occupied by string
yw_string_get_cstring — get value of string in given encoding
yw_string_get_utf16 — get value of string in UTF16
yw_string_get_utf32 — get value of string in UTF32
yw_string_get_utf8 — get value of string in UTF8
yw_string_idx — find character in string
yw_strstr — find one string in another
yw_swap_bytes — swap bytes in 32bit words
yw_tag_find — find named tag
yw_unlock — release exclusive lock
yw_unlock_ro — release shared lock
yw_unlock_rw — release exclusive lock
yw_window_buffer — get buffer of window
yw_window_close — close window and release YwWindow
yw_window_id — get win_id of window
yw_window_new — create new window
yw_window_new_and_free — create new window and free taglist
yw_window_set_origin — set origin of virtual window
yw_word_fetch_bindata — fetch binary data from given word
yw_word_fetch_int — fetch integer from given word
yw_word_fetch_keyword — fetch keyword from given word
yw_word_fetch_mapped_keyword — fetch mapped keyword from given word
yw_word_fetch_ptr — fetch pointer from given word
yw_word_fetch_string — fetch unicode string from given word
yw_word_fetch_void — fetch void data from given word
yw_word_next — retrive next word from list
yw_word_type — retrive type of word