Difference between revisions of "Tcl API"
Jump to navigation
Jump to search
(imported from WiKit id 162) |
m (convert to sections, fix wiki categories) |
||
Line 3: | Line 3: | ||
Like what you see here? Want to try your hand at documenting a command, too? Here's [[how to document the core Tcl API]]. | Like what you see here? Want to try your hand at documenting a command, too? Here's [[how to document the core Tcl API]]. | ||
− | + | == ADP commands == | |
− | |||
− | |||
: [[ns_adp_abort]], [[ns_adp_append]], [[ns_adp_argc]], [[ns_adp_argv]], [[ns_adp_bind_args]], [[ns_adp_break]], [[ns_adp_debug]], [[ns_adp_debuginit]], [[ns_adp_dir]], [[ns_adp_dump]], [[ns_adp_eval]], [[ns_adp_exception]], [[ns_adp_include]], [[ns_adp_mime]], [[ns_adp_mimetype]], [[ns_adp_parse]], [[ns_adp_puts]] ([[ns_puts]]), [[ns_adp_registeradp]], [[ns_adp_registerproc]], [[ns_adp_registertag]], [[ns_adp_return]], [[ns_adp_safeeval]], [[ns_adp_stats]], [[ns_adp_stream]], [[ns_adp_tell]], [[ns_adp_trunc]] | : [[ns_adp_abort]], [[ns_adp_append]], [[ns_adp_argc]], [[ns_adp_argv]], [[ns_adp_bind_args]], [[ns_adp_break]], [[ns_adp_debug]], [[ns_adp_debuginit]], [[ns_adp_dir]], [[ns_adp_dump]], [[ns_adp_eval]], [[ns_adp_exception]], [[ns_adp_include]], [[ns_adp_mime]], [[ns_adp_mimetype]], [[ns_adp_parse]], [[ns_adp_puts]] ([[ns_puts]]), [[ns_adp_registeradp]], [[ns_adp_registerproc]], [[ns_adp_registertag]], [[ns_adp_return]], [[ns_adp_safeeval]], [[ns_adp_stats]], [[ns_adp_stream]], [[ns_adp_tell]], [[ns_adp_trunc]] | ||
Line 23: | Line 21: | ||
: [[ns_write]], [[ns_writecontent]], [[ns_writefp]] | : [[ns_write]], [[ns_writecontent]], [[ns_writefp]] | ||
− | + | == Cache commands == | |
: [[ns_cache_flush]], [[ns_cache_keys]], [[ns_cache_names]], [[ns_cache_size]], [[ns_cache_stats]] | : [[ns_cache_flush]], [[ns_cache_keys]], [[ns_cache_names]], [[ns_cache_size]], [[ns_cache_stats]] | ||
− | + | == Concurrent programming commands == | |
: [[ns_cond]], [[ns_critsec]], [[ns_event]], [[ns_job]], [[ns_kill]], [[ns_mutex]], [[ns_sema]], [[ns_thread]] | : [[ns_cond]], [[ns_critsec]], [[ns_event]], [[ns_job]], [[ns_kill]], [[ns_mutex]], [[ns_sema]], [[ns_thread]] | ||
− | + | == Custom data structures and variable manipulation commands == | |
* TclX keyed lists: | * TclX keyed lists: | ||
Line 45: | Line 43: | ||
: [[ns_share]], [[ns_var]] | : [[ns_share]], [[ns_var]] | ||
− | + | == Database commands == | |
: [[ns_buildsqldate]], [[ns_buildsqltime]], [[ns_buildsqltimestamp]], [[ns_db]], [[ns_dbquotename]], [[ns_dbquotevalue]], [[ns_localsqltimestamp]], [[ns_parsesqldate]], [[ns_parsesqltime]], [[ns_parsesqltimestamp]], [[ns_writecsv]] | : [[ns_buildsqldate]], [[ns_buildsqltime]], [[ns_buildsqltimestamp]], [[ns_db]], [[ns_dbquotename]], [[ns_dbquotevalue]], [[ns_localsqltimestamp]], [[ns_parsesqldate]], [[ns_parsesqltime]], [[ns_parsesqltimestamp]], [[ns_writecsv]] | ||
− | + | == DNS lookup commands == | |
: [[ns_addrbyhost]], [[ns_hostbyaddr]] | : [[ns_addrbyhost]], [[ns_hostbyaddr]] | ||
− | + | == File manipulation commands == | |
: [[ns_chmod]], [[ns_cp]], [[ns_ftruncate]], [[ns_link]], [[ns_mkdir]], [[ns_mktemp]], [[ns_normalizepath]], [[ns_openexcl]], [[ns_purgefiles]], [[ns_rename]], [[ns_rmdir]], [[ns_rollfile]], [[ns_symlink]], [[ns_tmpnam]], [[ns_truncate]], [[ns_unlink]] | : [[ns_chmod]], [[ns_cp]], [[ns_ftruncate]], [[ns_link]], [[ns_mkdir]], [[ns_mktemp]], [[ns_normalizepath]], [[ns_openexcl]], [[ns_purgefiles]], [[ns_rename]], [[ns_rmdir]], [[ns_rollfile]], [[ns_symlink]], [[ns_tmpnam]], [[ns_truncate]], [[ns_unlink]] | ||
− | + | == HTML manipulation commands == | |
: [[ns_formvalueput]], [[ns_hrefs]], [[ns_htmlselect]], [[ns_quotehtml]], [[ns_striphtml]], [[ns_tagelement]], [[ns_tagelementset]] | : [[ns_formvalueput]], [[ns_hrefs]], [[ns_htmlselect]], [[ns_quotehtml]], [[ns_striphtml]], [[ns_tagelement]], [[ns_tagelementset]] | ||
− | + | == HTTP commands == | |
: [[ns_http]], [[ns_httpget]], [[ns_httpopen]], [[ns_httppost]] | : [[ns_http]], [[ns_httpget]], [[ns_httpopen]], [[ns_httppost]] | ||
− | + | == Image manipulation commands == | |
: [[ns_gifsize]], [[ns_jpegsize]] | : [[ns_gifsize]], [[ns_jpegsize]] | ||
− | + | == Internationalization (I18N) support commands == | |
: [[ns_charsets]], [[ns_choosecharset]], [[ns_cookiecharset]], [[ns_encodingforcharset]], [[ns_encodingfortype]], [[ns_formfieldcharset]], [[ns_urlcharset]] | : [[ns_charsets]], [[ns_choosecharset]], [[ns_cookiecharset]], [[ns_encodingforcharset]], [[ns_encodingfortype]], [[ns_formfieldcharset]], [[ns_urlcharset]] | ||
− | + | == Logging commands == | |
: [[ns_accesslog]], [[ns_log]], [[ns_logctl]], [[ns_logroll]] | : [[ns_accesslog]], [[ns_log]], [[ns_logctl]], [[ns_logroll]] | ||
− | + | == Request authorization commands == | |
: [[ns_checkurl]], [[ns_requestauthorize]] | : [[ns_checkurl]], [[ns_requestauthorize]] | ||
− | + | == Scheduling commands == | |
: [[ns_after]], [[ns_atclose]], [[ns_atexit]], [[ns_atshutdown]], [[ns_atsignal]], [[ns_cancel]], [[ns_pause]], [[ns_resume]], [[ns_schedule_proc]], [[ns_schedule_daily]], [[ns_schedule_weekly]], [[ns_shutdown]], [[ns_unschedule_proc]] | : [[ns_after]], [[ns_atclose]], [[ns_atexit]], [[ns_atshutdown]], [[ns_atsignal]], [[ns_cancel]], [[ns_pause]], [[ns_resume]], [[ns_schedule_proc]], [[ns_schedule_daily]], [[ns_schedule_weekly]], [[ns_shutdown]], [[ns_unschedule_proc]] | ||
− | + | == Server configuration commands == | |
: [[ns_config]], [[ns_configsection]], [[ns_configsections]], [[ns_library]], [[ns_limits]], [[ns_modulepath]], [[ns_param]], [[ns_pools]], [[ns_section]] | : [[ns_config]], [[ns_configsection]], [[ns_configsections]], [[ns_library]], [[ns_limits]], [[ns_modulepath]], [[ns_param]], [[ns_pools]], [[ns_section]] | ||
− | + | == Server introspection commands == | |
: [[ns_env]], [[ns_info]], [[ns_server]], [[ns_stats]] | : [[ns_env]], [[ns_info]], [[ns_server]], [[ns_stats]] | ||
− | + | == Socket I/O commands == | |
: [[ns_sock]], [[ns_sockaccept]], [[ns_sockblocking]], [[ns_sockcallback]], [[ns_sockcheck]], [[ns_sockclose]], [[ns_sockdup]], [[ns_sockerrno]], [[ns_socketpair]], [[ns_sockioctl]], [[ns_socklisten]], [[ns_socklistencallback]], [[ns_socknbclose]], [[ns_socknonblocking]], [[ns_socknread]], [[ns_sockopen]], [[ns_sockpair]], [[ns_sockreadwait]], [[ns_sockselect]], [[ns_socksend]], [[ns_sockstrerror]] | : [[ns_sock]], [[ns_sockaccept]], [[ns_sockblocking]], [[ns_sockcallback]], [[ns_sockcheck]], [[ns_sockclose]], [[ns_sockdup]], [[ns_sockerrno]], [[ns_socketpair]], [[ns_sockioctl]], [[ns_socklisten]], [[ns_socklistencallback]], [[ns_socknbclose]], [[ns_socknonblocking]], [[ns_socknread]], [[ns_sockopen]], [[ns_sockpair]], [[ns_sockreadwait]], [[ns_sockselect]], [[ns_socksend]], [[ns_sockstrerror]] | ||
− | + | == Tcl channel management commands == | |
: [[ns_chan]], [[ns_cleanupchans]], [[ns_getchannels]] | : [[ns_chan]], [[ns_cleanupchans]], [[ns_getchannels]] | ||
− | + | == Tcl interpreter management commands == | |
: [[ns_cleanup]], [[ns_eval]], [[ns_ictl]], [[ns_init]], [[ns_markfordelete]], [[ns_reinit]] | : [[ns_cleanup]], [[ns_eval]], [[ns_ictl]], [[ns_init]], [[ns_markfordelete]], [[ns_reinit]] | ||
− | + | == Time commands == | |
: [[ns_fmttime]], [[ns_gmtime]], [[ns_httptime]], [[ns_localtime]], [[ns_parsehttptime]], [[ns_parsetime]], [[ns_time]] | : [[ns_fmttime]], [[ns_gmtime]], [[ns_httptime]], [[ns_localtime]], [[ns_parsehttptime]], [[ns_parsetime]], [[ns_time]] | ||
− | + | == Uncategorized == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | : [[ns_cpfp]], [[ns_crypt]], [[ns_geturl]], [[ns_guesstype]], [[ns_headers]], [[ns_isformcached]], [[ns_issmallint]], [[ns_paren]], [[ns_parseheader]], [[ns_parsequery]], [[ns_rand]], [[ns_register_adptag]], [[ns_register_adp]], [[ns_register_proc]], [[ns_register_filter]], [[ns_register_trace]], [[ns_resetcachedform]], [[ns_sendmail]], [[ns_sleep]], [[ns_sourceproc]], [[ns_startcontent]], [[ns_unregister_adp]], [[ns_unregister_proc]], [[ns_updateheader]], [[ns_url2file]], [[ns_urldecode]], [[ns_urlencode]], [[ns_uudecode]], [[ns_uuencode]] | |
− | [[Category Documentation]] | + | [[Category:Documentation]] |
+ | [[Category:Core Tcl API]] |
Revision as of 15:46, 7 October 2005
Links to all of the Tcl commands provided by the AOLserver core "out of the box". To view a complete list of these commands in alphabetical order, try the Category Core Tcl API references page.
Like what you see here? Want to try your hand at documenting a command, too? Here's how to document the core Tcl API.
Contents
- 1 ADP commands
- 2 Cache commands
- 3 Concurrent programming commands
- 4 Custom data structures and variable manipulation commands
- 5 Database commands
- 6 DNS lookup commands
- 7 File manipulation commands
- 8 HTML manipulation commands
- 9 HTTP commands
- 10 Image manipulation commands
- 11 Internationalization (I18N) support commands
- 12 Logging commands
- 13 Request authorization commands
- 14 Scheduling commands
- 15 Server configuration commands
- 16 Server introspection commands
- 17 Socket I/O commands
- 18 Tcl channel management commands
- 19 Tcl interpreter management commands
- 20 Time commands
- 21 Uncategorized
ADP commands
- ns_adp_abort, ns_adp_append, ns_adp_argc, ns_adp_argv, ns_adp_bind_args, ns_adp_break, ns_adp_debug, ns_adp_debuginit, ns_adp_dir, ns_adp_dump, ns_adp_eval, ns_adp_exception, ns_adp_include, ns_adp_mime, ns_adp_mimetype, ns_adp_parse, ns_adp_puts (ns_puts), ns_adp_registeradp, ns_adp_registerproc, ns_adp_registertag, ns_adp_return, ns_adp_safeeval, ns_adp_stats, ns_adp_stream, ns_adp_tell, ns_adp_trunc
- ns_return, ns_returnadminnotice, ns_returnbadrequest, ns_returnerror, ns_returnfile, ns_returnforbidden, ns_returnfp, ns_returnnotfound, ns_returnnotice, ns_returnok, ns_returnredirect, ns_returnunauthorized,
Cache commands
Concurrent programming commands
Custom data structures and variable manipulation commands
- TclX keyed lists:
- Thread-shared variables (aka Network Shared Variables or NSVs):
- Sets and multisets:
- ???
Database commands
- ns_buildsqldate, ns_buildsqltime, ns_buildsqltimestamp, ns_db, ns_dbquotename, ns_dbquotevalue, ns_localsqltimestamp, ns_parsesqldate, ns_parsesqltime, ns_parsesqltimestamp, ns_writecsv
DNS lookup commands
File manipulation commands
- ns_chmod, ns_cp, ns_ftruncate, ns_link, ns_mkdir, ns_mktemp, ns_normalizepath, ns_openexcl, ns_purgefiles, ns_rename, ns_rmdir, ns_rollfile, ns_symlink, ns_tmpnam, ns_truncate, ns_unlink
HTML manipulation commands
- ns_formvalueput, ns_hrefs, ns_htmlselect, ns_quotehtml, ns_striphtml, ns_tagelement, ns_tagelementset
HTTP commands
Image manipulation commands
Internationalization (I18N) support commands
- ns_charsets, ns_choosecharset, ns_cookiecharset, ns_encodingforcharset, ns_encodingfortype, ns_formfieldcharset, ns_urlcharset
Logging commands
Request authorization commands
Scheduling commands
- ns_after, ns_atclose, ns_atexit, ns_atshutdown, ns_atsignal, ns_cancel, ns_pause, ns_resume, ns_schedule_proc, ns_schedule_daily, ns_schedule_weekly, ns_shutdown, ns_unschedule_proc
Server configuration commands
- ns_config, ns_configsection, ns_configsections, ns_library, ns_limits, ns_modulepath, ns_param, ns_pools, ns_section
Server introspection commands
Socket I/O commands
- ns_sock, ns_sockaccept, ns_sockblocking, ns_sockcallback, ns_sockcheck, ns_sockclose, ns_sockdup, ns_sockerrno, ns_socketpair, ns_sockioctl, ns_socklisten, ns_socklistencallback, ns_socknbclose, ns_socknonblocking, ns_socknread, ns_sockopen, ns_sockpair, ns_sockreadwait, ns_sockselect, ns_socksend, ns_sockstrerror
Tcl channel management commands
Tcl interpreter management commands
Time commands
Uncategorized
- ns_cpfp, ns_crypt, ns_geturl, ns_guesstype, ns_headers, ns_isformcached, ns_issmallint, ns_paren, ns_parseheader, ns_parsequery, ns_rand, ns_register_adptag, ns_register_adp, ns_register_proc, ns_register_filter, ns_register_trace, ns_resetcachedform, ns_sendmail, ns_sleep, ns_sourceproc, ns_startcontent, ns_unregister_adp, ns_unregister_proc, ns_updateheader, ns_url2file, ns_urldecode, ns_urlencode, ns_uudecode, ns_uuencode