├── .gitignore
├── Couchbase.xcworkspace
├── contents.xcworkspacedata
└── xcshareddata
│ └── WorkspaceSettings.xcsettings
├── Doxyfile
├── EmptyApp
├── Empty App.xcodeproj
│ ├── project.pbxproj
│ └── xcshareddata
│ │ └── xcschemes
│ │ ├── Empty App.xcscheme
│ │ └── Listener.xcscheme
├── Source
│ ├── CouchbaseTrustedCerts.pem
│ ├── Empty App-Info.plist
│ ├── Empty App-Prefix.pch
│ ├── EmptyAppDelegate.h
│ ├── EmptyAppDelegate.m
│ ├── app.ini
│ ├── en.lproj
│ │ └── InfoPlist.strings
│ ├── installResources.sh
│ └── main.m
└── Tests
│ ├── Empty AppTests-Info.plist
│ ├── EmptyAppTests.h
│ ├── EmptyAppTests.m
│ ├── RESTBase64.h
│ ├── RESTBase64.m
│ ├── TestConnection.h
│ ├── TestConnection.m
│ └── en.lproj
│ └── InfoPlist.strings
├── Framework
├── Classes
│ ├── CouchbaseMobile.h
│ └── CouchbaseMobile.m
├── Couchbase.xcodeproj
│ ├── project.pbxproj
│ ├── project.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ └── WorkspaceSettings.xcsettings
│ └── xcshareddata
│ │ └── xcschemes
│ │ └── Couchbase.framework.xcscheme
├── Resources
│ ├── Couchbase.framework-Info.plist
│ ├── default.ini
│ └── default_ios.ini
├── Scripts
│ ├── build_erlang_packages.sh
│ ├── compile_erlang_dir.sh
│ └── concat_js_files.sh
└── erlang
│ ├── bin
│ ├── start.boot
│ ├── start_clean.boot
│ └── start_sasl.boot
│ ├── emonk_app.js
│ ├── emonk_mapred.js
│ ├── erl_inetrc
│ └── lib
│ ├── couch
│ ├── ebin
│ │ └── couch.app
│ └── priv
│ │ ├── couchspawnkillable
│ │ ├── lib
│ │ ├── couch_icu_driver.la
│ │ └── libcouch_icu_driver.a
│ │ └── stat_descriptions.cfg
│ ├── crypto-1.6.4
│ ├── ebin
│ │ ├── crypto.app
│ │ ├── crypto.appup
│ │ ├── crypto.beam
│ │ ├── crypto_app.beam
│ │ ├── crypto_server.beam
│ │ └── crypto_sup.beam
│ └── priv
│ │ └── obj
│ │ └── Makefile
│ ├── ejson
│ └── ebin
│ │ └── ejson.app
│ ├── emonk
│ └── ebin
│ │ └── emonk.app
│ ├── erlang-oauth
│ └── ebin
│ │ └── oauth.app
│ ├── erts-5.7.5
│ └── ebin
│ │ ├── erl_prim_loader.beam
│ │ ├── erlang.beam
│ │ ├── init.beam
│ │ ├── otp_ring0.beam
│ │ ├── prim_file.beam
│ │ ├── prim_inet.beam
│ │ ├── prim_zip.beam
│ │ └── zlib.beam
│ ├── ibrowse
│ ├── ibrowse.app
│ └── ibrowse.hrl
│ ├── inets-5.3
│ ├── ebin
│ │ ├── ftp.beam
│ │ ├── ftp_progress.beam
│ │ ├── ftp_response.beam
│ │ ├── ftp_sup.beam
│ │ ├── http.beam
│ │ ├── http_chunk.beam
│ │ ├── http_request.beam
│ │ ├── http_response.beam
│ │ ├── http_transport.beam
│ │ ├── http_uri.beam
│ │ ├── http_util.beam
│ │ ├── httpc.beam
│ │ ├── httpc_cookie.beam
│ │ ├── httpc_handler.beam
│ │ ├── httpc_handler_sup.beam
│ │ ├── httpc_manager.beam
│ │ ├── httpc_profile_sup.beam
│ │ ├── httpc_request.beam
│ │ ├── httpc_response.beam
│ │ ├── httpc_sup.beam
│ │ ├── httpd.beam
│ │ ├── httpd_acceptor.beam
│ │ ├── httpd_acceptor_sup.beam
│ │ ├── httpd_cgi.beam
│ │ ├── httpd_conf.beam
│ │ ├── httpd_esi.beam
│ │ ├── httpd_example.beam
│ │ ├── httpd_file.beam
│ │ ├── httpd_instance_sup.beam
│ │ ├── httpd_log.beam
│ │ ├── httpd_manager.beam
│ │ ├── httpd_misc_sup.beam
│ │ ├── httpd_request.beam
│ │ ├── httpd_request_handler.beam
│ │ ├── httpd_response.beam
│ │ ├── httpd_script_env.beam
│ │ ├── httpd_socket.beam
│ │ ├── httpd_sup.beam
│ │ ├── httpd_util.beam
│ │ ├── inets.app
│ │ ├── inets.appup
│ │ ├── inets.beam
│ │ ├── inets_app.beam
│ │ ├── inets_regexp.beam
│ │ ├── inets_service.beam
│ │ ├── inets_sup.beam
│ │ ├── mod_actions.beam
│ │ ├── mod_alias.beam
│ │ ├── mod_auth.beam
│ │ ├── mod_auth_dets.beam
│ │ ├── mod_auth_mnesia.beam
│ │ ├── mod_auth_plain.beam
│ │ ├── mod_auth_server.beam
│ │ ├── mod_browser.beam
│ │ ├── mod_cgi.beam
│ │ ├── mod_dir.beam
│ │ ├── mod_disk_log.beam
│ │ ├── mod_esi.beam
│ │ ├── mod_get.beam
│ │ ├── mod_head.beam
│ │ ├── mod_htaccess.beam
│ │ ├── mod_include.beam
│ │ ├── mod_log.beam
│ │ ├── mod_range.beam
│ │ ├── mod_responsecontrol.beam
│ │ ├── mod_security.beam
│ │ ├── mod_security_server.beam
│ │ ├── mod_trace.beam
│ │ ├── tftp.beam
│ │ ├── tftp_binary.beam
│ │ ├── tftp_engine.beam
│ │ ├── tftp_file.beam
│ │ ├── tftp_lib.beam
│ │ ├── tftp_logger.beam
│ │ └── tftp_sup.beam
│ ├── priv
│ │ └── bin
│ │ │ └── runcgi.sh
│ └── src
│ │ ├── ftp_internal.hrl
│ │ ├── http_internal.hrl
│ │ ├── httpc_internal.hrl
│ │ ├── httpd.hrl
│ │ ├── httpd_internal.hrl
│ │ ├── inets_internal.hrl
│ │ ├── mod_auth.hrl
│ │ └── tftp.hrl
│ ├── kernel-2.13.5
│ ├── ebin
│ │ ├── application.beam
│ │ ├── application_controller.beam
│ │ ├── application_master.beam
│ │ ├── application_starter.beam
│ │ ├── auth.beam
│ │ ├── code.beam
│ │ ├── code_server.beam
│ │ ├── disk_log.beam
│ │ ├── disk_log_1.beam
│ │ ├── disk_log_server.beam
│ │ ├── disk_log_sup.beam
│ │ ├── dist_ac.beam
│ │ ├── dist_util.beam
│ │ ├── erl_boot_server.beam
│ │ ├── erl_ddll.beam
│ │ ├── erl_distribution.beam
│ │ ├── erl_epmd.beam
│ │ ├── erl_reply.beam
│ │ ├── error_handler.beam
│ │ ├── error_logger.beam
│ │ ├── erts_debug.beam
│ │ ├── file.beam
│ │ ├── file_io_server.beam
│ │ ├── file_server.beam
│ │ ├── gen_sctp.beam
│ │ ├── gen_tcp.beam
│ │ ├── gen_udp.beam
│ │ ├── global.beam
│ │ ├── global_group.beam
│ │ ├── global_search.beam
│ │ ├── group.beam
│ │ ├── heart.beam
│ │ ├── hipe_unified_loader.beam
│ │ ├── inet.beam
│ │ ├── inet6_sctp.beam
│ │ ├── inet6_tcp.beam
│ │ ├── inet6_tcp_dist.beam
│ │ ├── inet6_udp.beam
│ │ ├── inet_config.beam
│ │ ├── inet_db.beam
│ │ ├── inet_dns.beam
│ │ ├── inet_gethost_native.beam
│ │ ├── inet_hosts.beam
│ │ ├── inet_parse.beam
│ │ ├── inet_res.beam
│ │ ├── inet_sctp.beam
│ │ ├── inet_tcp.beam
│ │ ├── inet_tcp_dist.beam
│ │ ├── inet_udp.beam
│ │ ├── kernel.app
│ │ ├── kernel.appup
│ │ ├── kernel.beam
│ │ ├── kernel_config.beam
│ │ ├── net.beam
│ │ ├── net_adm.beam
│ │ ├── net_kernel.beam
│ │ ├── os.beam
│ │ ├── packages.beam
│ │ ├── pg2.beam
│ │ ├── ram_file.beam
│ │ ├── rpc.beam
│ │ ├── seq_trace.beam
│ │ ├── standard_error.beam
│ │ ├── user.beam
│ │ ├── user_drv.beam
│ │ ├── user_sup.beam
│ │ └── wrap_log_reader.beam
│ └── src
│ │ ├── application_master.hrl
│ │ ├── disk_log.hrl
│ │ ├── dist.hrl
│ │ ├── dist_util.hrl
│ │ ├── inet_boot.hrl
│ │ ├── inet_config.hrl
│ │ ├── inet_dns.hrl
│ │ ├── inet_dns_record_adts.hrl
│ │ ├── inet_int.hrl
│ │ ├── inet_res.hrl
│ │ └── net_address.hrl
│ ├── mochiweb
│ └── ebin
│ │ └── mochiweb.app
│ ├── public_key-0.13
│ └── ebin
│ │ ├── OTP-PUB-KEY.beam
│ │ ├── pubkey_cert.beam
│ │ ├── pubkey_cert_records.beam
│ │ ├── pubkey_pem.beam
│ │ ├── pubkey_ssh.beam
│ │ ├── public_key.app
│ │ ├── public_key.appup
│ │ └── public_key.beam
│ ├── sasl-2.1.9
│ ├── ebin
│ │ ├── alarm_handler.beam
│ │ ├── erlsrv.beam
│ │ ├── format_lib_supp.beam
│ │ ├── misc_supp.beam
│ │ ├── overload.beam
│ │ ├── rb.beam
│ │ ├── rb_format_supp.beam
│ │ ├── release_handler.beam
│ │ ├── release_handler_1.beam
│ │ ├── sasl.app
│ │ ├── sasl.appup
│ │ ├── sasl.beam
│ │ ├── sasl_report.beam
│ │ ├── sasl_report_file_h.beam
│ │ ├── sasl_report_tty_h.beam
│ │ ├── si.beam
│ │ ├── si_sasl_supp.beam
│ │ ├── systools.beam
│ │ ├── systools_lib.beam
│ │ ├── systools_make.beam
│ │ ├── systools_rc.beam
│ │ └── systools_relup.beam
│ └── src
│ │ └── systools.hrl
│ ├── snappy
│ └── ebin
│ │ └── snappy.app
│ ├── ssl-4.1.6
│ └── ebin
│ │ ├── inet_ssl_dist.beam
│ │ ├── ssl.app
│ │ ├── ssl.appup
│ │ ├── ssl.beam
│ │ ├── ssl_alert.beam
│ │ ├── ssl_app.beam
│ │ ├── ssl_broker.beam
│ │ ├── ssl_broker_sup.beam
│ │ ├── ssl_certificate.beam
│ │ ├── ssl_certificate_db.beam
│ │ ├── ssl_cipher.beam
│ │ ├── ssl_connection.beam
│ │ ├── ssl_connection_sup.beam
│ │ ├── ssl_debug.beam
│ │ ├── ssl_handshake.beam
│ │ ├── ssl_manager.beam
│ │ ├── ssl_prim.beam
│ │ ├── ssl_record.beam
│ │ ├── ssl_server.beam
│ │ ├── ssl_session.beam
│ │ ├── ssl_session_cache.beam
│ │ ├── ssl_session_cache_api.beam
│ │ ├── ssl_ssl2.beam
│ │ ├── ssl_ssl3.beam
│ │ ├── ssl_sup.beam
│ │ └── ssl_tls1.beam
│ ├── stdlib-1.16.5
│ ├── ebin
│ │ ├── array.beam
│ │ ├── base64.beam
│ │ ├── beam_lib.beam
│ │ ├── c.beam
│ │ ├── calendar.beam
│ │ ├── dets.beam
│ │ ├── dets_server.beam
│ │ ├── dets_sup.beam
│ │ ├── dets_utils.beam
│ │ ├── dets_v8.beam
│ │ ├── dets_v9.beam
│ │ ├── dict.beam
│ │ ├── digraph.beam
│ │ ├── digraph_utils.beam
│ │ ├── edlin.beam
│ │ ├── edlin_expand.beam
│ │ ├── epp.beam
│ │ ├── erl_bits.beam
│ │ ├── erl_compile.beam
│ │ ├── erl_eval.beam
│ │ ├── erl_expand_records.beam
│ │ ├── erl_internal.beam
│ │ ├── erl_lint.beam
│ │ ├── erl_parse.beam
│ │ ├── erl_posix_msg.beam
│ │ ├── erl_pp.beam
│ │ ├── erl_scan.beam
│ │ ├── erl_tar.beam
│ │ ├── error_logger_file_h.beam
│ │ ├── error_logger_tty_h.beam
│ │ ├── escript.beam
│ │ ├── ets.beam
│ │ ├── eval_bits.beam
│ │ ├── file_sorter.beam
│ │ ├── filelib.beam
│ │ ├── filename.beam
│ │ ├── gb_sets.beam
│ │ ├── gb_trees.beam
│ │ ├── gen.beam
│ │ ├── gen_event.beam
│ │ ├── gen_fsm.beam
│ │ ├── gen_server.beam
│ │ ├── io.beam
│ │ ├── io_lib.beam
│ │ ├── io_lib_format.beam
│ │ ├── io_lib_fread.beam
│ │ ├── io_lib_pretty.beam
│ │ ├── lib.beam
│ │ ├── lists.beam
│ │ ├── log_mf_h.beam
│ │ ├── math.beam
│ │ ├── ms_transform.beam
│ │ ├── orddict.beam
│ │ ├── ordsets.beam
│ │ ├── otp_internal.beam
│ │ ├── pg.beam
│ │ ├── pool.beam
│ │ ├── proc_lib.beam
│ │ ├── proplists.beam
│ │ ├── qlc.beam
│ │ ├── qlc_pt.beam
│ │ ├── queue.beam
│ │ ├── random.beam
│ │ ├── re.beam
│ │ ├── regexp.beam
│ │ ├── sets.beam
│ │ ├── shell.beam
│ │ ├── shell_default.beam
│ │ ├── slave.beam
│ │ ├── sofs.beam
│ │ ├── stdlib.app
│ │ ├── stdlib.appup
│ │ ├── string.beam
│ │ ├── supervisor.beam
│ │ ├── supervisor_bridge.beam
│ │ ├── sys.beam
│ │ ├── timer.beam
│ │ ├── unicode.beam
│ │ ├── win32reg.beam
│ │ └── zip.beam
│ └── src
│ │ ├── dets.hrl
│ │ └── erl_parse.yrl
│ └── xmerl-1.2.4
│ └── ebin
│ └── xmerl_ucs.beam
├── Getting-Started.pdf
├── LICENSE
├── README.md
├── README_old.md
└── THANKS.txt
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | *.swp
3 | *.pbxuser
4 | *.perspectivev3
5 | *.mode1v3
6 | xcuserdata/
7 | build
8 | DerivedData
9 | Docs
10 |
11 |
--------------------------------------------------------------------------------
/Couchbase.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
12 |
13 |
15 |
16 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Couchbase.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/EmptyApp/Empty App.xcodeproj/xcshareddata/xcschemes/Empty App.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
4 |
7 |
8 |
14 |
20 |
21 |
22 |
23 |
24 |
29 |
30 |
32 |
38 |
39 |
40 |
41 |
42 |
48 |
49 |
50 |
51 |
59 |
60 |
66 |
67 |
68 |
69 |
70 |
71 |
77 |
78 |
84 |
85 |
86 |
87 |
89 |
90 |
93 |
94 |
95 |
--------------------------------------------------------------------------------
/EmptyApp/Empty App.xcodeproj/xcshareddata/xcschemes/Listener.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
4 |
7 |
8 |
14 |
20 |
21 |
22 |
23 |
24 |
29 |
30 |
31 |
32 |
38 |
39 |
40 |
41 |
49 |
50 |
56 |
57 |
58 |
59 |
60 |
61 |
67 |
68 |
74 |
75 |
76 |
77 |
79 |
80 |
83 |
84 |
85 |
--------------------------------------------------------------------------------
/EmptyApp/Source/CouchbaseTrustedCerts.pem:
--------------------------------------------------------------------------------
1 | -----BEGIN CERTIFICATE-----
2 | MIIC5zCCAlACAQEwDQYJKoZIhvcNAQEFBQAwgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0
3 | IFZhbGlkYXRpb24gTmV0d29yazEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAz
4 | BgNVBAsTLFZhbGlDZXJ0IENsYXNzIDIgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9y
5 | aXR5MSEwHwYDVQQDExhodHRwOi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG
6 | 9w0BCQEWEWluZm9AdmFsaWNlcnQuY29tMB4XDTk5MDYyNjAwMTk1NFoXDTE5MDYy
7 | NjAwMTk1NFowgbsxJDAiBgNVBAcTG1ZhbGlDZXJ0IFZhbGlkYXRpb24gTmV0d29y
8 | azEXMBUGA1UEChMOVmFsaUNlcnQsIEluYy4xNTAzBgNVBAsTLFZhbGlDZXJ0IENs
9 | YXNzIDIgUG9saWN5IFZhbGlkYXRpb24gQXV0aG9yaXR5MSEwHwYDVQQDExhodHRw
10 | Oi8vd3d3LnZhbGljZXJ0LmNvbS8xIDAeBgkqhkiG9w0BCQEWEWluZm9AdmFsaWNl
11 | cnQuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDOOnHK5avIWZJV16vY
12 | dA757tn2VUdZZUcOBVXc65g2PFxTXdMwzzjsvUGJ7SVCCSRrCl6zfN1SLUzm1NZ9
13 | WlmpZdRJEy0kTRxQb7XBhVQ7/nHk01xC+YDgkRoKWzk2Z/M/VXwbP7RfZHM047QS
14 | v4dk+NoS/zcnwbNDu+97bi5p9wIDAQABMA0GCSqGSIb3DQEBBQUAA4GBADt/UG9v
15 | UJSZSWI4OB9L+KXIPqeCgfYrx+jFzug6EILLGACOTb2oWH+heQC1u+mNr0HZDzTu
16 | IYEZoDJJKPTEjlbVUjP9UNV+mWwD5MlM/Mtsq2azSiGM5bUMMj4QssxsodyamEwC
17 | W/POuZ6lcg5Ktz885hZo+L7tdEy8W9ViH0Pd
18 | -----END CERTIFICATE-----
19 |
--------------------------------------------------------------------------------
/EmptyApp/Source/Empty App-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleDisplayName
8 | ${PRODUCT_NAME}
9 | CFBundleExecutable
10 | ${EXECUTABLE_NAME}
11 | CFBundleIconFile
12 |
13 | CFBundleIdentifier
14 | org.couchbase.${PRODUCT_NAME:rfc1034identifier}
15 | CFBundleInfoDictionaryVersion
16 | 6.0
17 | CFBundleName
18 | ${PRODUCT_NAME}
19 | CFBundlePackageType
20 | APPL
21 | CFBundleShortVersionString
22 | 1.0
23 | CFBundleSignature
24 | ????
25 | CFBundleVersion
26 | 1.0
27 | LSRequiresIPhoneOS
28 |
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/EmptyApp/Source/Empty App-Prefix.pch:
--------------------------------------------------------------------------------
1 | //
2 | // Prefix header for all source files of the 'Couchbase Empty App' target in the 'Couchbase Empty App' project
3 | //
4 |
5 | #import
6 |
7 | #ifndef __IPHONE_3_0
8 | #warning "This project uses features only available in iOS SDK 3.0 and later."
9 | #endif
10 |
11 | #ifdef __OBJC__
12 | #import
13 | #import
14 | #endif
15 |
--------------------------------------------------------------------------------
/EmptyApp/Source/EmptyAppDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // EmptyAppDelegate.h
3 | // Couchbase Empty App
4 | //
5 | // Created by Jens Alfke on 7/8/11.
6 | // Copyright 2011 Couchbase, Inc. All rights reserved.
7 | //
8 |
9 | #import
10 | #import
11 |
12 | @interface EmptyAppDelegate : UIResponder
13 |
14 | @property (retain, nonatomic) UIWindow *window;
15 |
16 | @property (retain, nonatomic) NSURL* serverURL;
17 |
18 | @property (readonly) NSString* localIPAddress;
19 | @end
20 |
--------------------------------------------------------------------------------
/EmptyApp/Source/EmptyAppDelegate.m:
--------------------------------------------------------------------------------
1 | //
2 | // EmptyAppDelegate.m
3 | // Couchbase Empty App
4 | //
5 | // Created by Jens Alfke on 7/8/11.
6 | // Copyright 2011 CouchBase, Inc. All rights reserved.
7 | //
8 |
9 | #import "EmptyAppDelegate.h"
10 | #import
11 | #import
12 | #import
13 | #import
14 |
15 |
16 | @implementation EmptyAppDelegate
17 |
18 |
19 | BOOL sUnitTesting;
20 | CouchbaseMobile* sCouchbase; // Used by the unit tests
21 |
22 |
23 | @synthesize window = _window;
24 | @synthesize serverURL = _serverURL;
25 |
26 |
27 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
28 | {
29 | // Override point for customization after application launch.
30 | NSLog(@"------ Empty App: application:didFinishLaunchingWithOptions:");
31 | self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
32 | [self.window makeKeyAndVisible];
33 |
34 | // Initialize CouchDB:
35 | CouchbaseMobile* cb = [[CouchbaseMobile alloc] init];
36 | cb.delegate = self;
37 | cb.logLevel = 2; // Enable Erlang errors and CouchDB info
38 | NSString* iniPath = [[NSBundle mainBundle] pathForResource: @"app" ofType: @"ini"];
39 | if (iniPath) {
40 | NSLog(@"Empty App: Registering custom .ini file %@", iniPath);
41 | cb.iniFilePath = iniPath;
42 | }
43 | NSAssert([cb start], @"Couchbase couldn't start! Error = %@", cb.error);
44 | sCouchbase = cb;
45 | return YES;
46 | }
47 |
48 | - (void)applicationWillResignActive:(UIApplication *)application {
49 | NSLog(@"------ Empty App: applicationWillResignActive");
50 | }
51 |
52 | - (void)applicationDidEnterBackground:(UIApplication *)application {
53 | NSLog(@"------ Empty App: applicationDidEnterBackground");
54 | }
55 |
56 | - (void)applicationWillEnterForeground:(UIApplication *)application {
57 | NSLog(@"------ Empty App: applicationWillEnterForeground");
58 | }
59 |
60 | - (void)applicationDidBecomeActive:(UIApplication *)application {
61 | NSLog(@"------ Empty App: applicationDidBecomeActive");
62 | }
63 |
64 | - (void)applicationWillTerminate:(UIApplication *)application {
65 | NSLog(@"------ Empty App: applicationWillTerminate");
66 | }
67 |
68 |
69 | -(void)couchbaseMobile:(CouchbaseMobile*)couchbase didStart:(NSURL*)serverURL {
70 | NSLog(@"Empty App: CouchDB is Ready, go!");
71 | NSLog(@"My local IP address is %@", self.localIPAddress);
72 | self.serverURL = serverURL;
73 |
74 | if (sUnitTesting)
75 | return; // Unit tests have already started
76 |
77 | NSString* bundleID = [[NSBundle mainBundle] bundleIdentifier];
78 | if ([bundleID hasSuffix: @"Empty-App"]) {
79 | NSLog(@"*** EMPTYAPP IS NOW STARTING UNIT TESTS ***\n\n\n");
80 | SenTestSuite* tests = [SenTestSuite defaultTestSuite];
81 | SenTestRun* result = [tests run];
82 | if (!result.hasSucceeded) abort();
83 | exit(0);
84 | }
85 | }
86 |
87 |
88 | -(void)couchbaseMobile:(CouchbaseMobile*)couchbase failedToStart:(NSError*)error {
89 | NSAssert(NO, @"Couchbase failed to initialize: %@", error);
90 | }
91 |
92 |
93 | - (NSString*)localIPAddress {
94 | // getifaddrs returns a linked list of interface entries;
95 | // find the first active non-loopback interface with IPv4:
96 | UInt32 address = 0;
97 | struct ifaddrs *interfaces;
98 | if( getifaddrs(&interfaces) == 0 ) {
99 | struct ifaddrs *interface;
100 | for( interface=interfaces; interface; interface=interface->ifa_next ) {
101 | if( (interface->ifa_flags & IFF_UP) && ! (interface->ifa_flags & IFF_LOOPBACK) ) {
102 | const struct sockaddr_in *addr = (const struct sockaddr_in*) interface->ifa_addr;
103 | if( addr && addr->sin_family==AF_INET ) {
104 | address = addr->sin_addr.s_addr;
105 | break;
106 | }
107 | }
108 | }
109 | freeifaddrs(interfaces);
110 | }
111 |
112 | const UInt8* b = (const UInt8*)&address;
113 | return [NSString stringWithFormat: @"%u.%u.%u.%u",
114 | (unsigned)b[0],(unsigned)b[1],(unsigned)b[2],(unsigned)b[3]];
115 | }
116 |
117 |
118 | @end
119 |
--------------------------------------------------------------------------------
/EmptyApp/Source/app.ini:
--------------------------------------------------------------------------------
1 | ; Custom initialization for the Listener app.
2 |
3 | [httpd]
4 | bind_address = 0.0.0.0 ; listen on all interfaces
5 | port = 5984 ; standard CouchDB port
6 |
--------------------------------------------------------------------------------
/EmptyApp/Source/en.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 |
--------------------------------------------------------------------------------
/EmptyApp/Source/installResources.sh:
--------------------------------------------------------------------------------
1 | #!/bin/sh
2 | # The 'CouchbaseResources' subfolder of the framework contains Erlang code and other resources
3 | # needed at runtime. Copy it into the app bundle:
4 |
5 | # Directory containing the built Couchbase.framework:
6 | COUCHBASE_FRAMEWORK_DIR="${CONFIGURATION_BUILD_DIR}/../${CONFIGURATION}-universal"
7 | # The app's Resources directory, where CouchbaseResources will go:
8 | RESOURCES_DIR="${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
9 |
10 | echo "Installing CouchbaseResources into ${RESOURCES_DIR} ..."
11 | rm -rf "${RESOURCES_DIR}/CouchbaseResources"
12 | rsync -a "$COUCHBASE_FRAMEWORK_DIR/Couchbase.framework/CouchbaseResources" "${RESOURCES_DIR}"
--------------------------------------------------------------------------------
/EmptyApp/Source/main.m:
--------------------------------------------------------------------------------
1 | //
2 | // main.m
3 | // Couchbase Empty App
4 | //
5 | // Created by Jens Alfke on 7/8/11.
6 | // Copyright 2011 Couchbase, Inc. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | #import "EmptyAppDelegate.h"
12 |
13 | int main(int argc, char *argv[])
14 | {
15 | NSAutoreleasePool* pool = [NSAutoreleasePool new];
16 | int retVal = UIApplicationMain(argc, argv, nil,
17 | NSStringFromClass([EmptyAppDelegate class]));
18 | [pool drain];
19 | return retVal;
20 | }
21 |
--------------------------------------------------------------------------------
/EmptyApp/Tests/Empty AppTests-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | en
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIdentifier
10 | org.couchbase.${PRODUCT_NAME:rfc1034identifier}
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundlePackageType
14 | BNDL
15 | CFBundleShortVersionString
16 | 1.0
17 | CFBundleSignature
18 | ????
19 | CFBundleVersion
20 | 1
21 |
22 |
23 |
--------------------------------------------------------------------------------
/EmptyApp/Tests/EmptyAppTests.h:
--------------------------------------------------------------------------------
1 | //
2 | // EmptyAppTests.h
3 | // Couchbase Mobile
4 | //
5 | // Created by Jens Alfke on 7/8/11.
6 | // Copyright 2011 Couchbase, Inc. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface EmptyAppTests : SenTestCase
12 |
13 | - (void)forciblyDeleteDatabase;
14 |
15 | @end
16 |
--------------------------------------------------------------------------------
/EmptyApp/Tests/RESTBase64.h:
--------------------------------------------------------------------------------
1 | //
2 | // RESTBase64.h
3 | // CouchCocoa
4 | //
5 | // Created by Jens Alfke on 9/14/11.
6 | // Copyright (c) 2011 Couchbase, Inc. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | @interface RESTBase64 : NSObject
12 | + (NSString*) encode:(const void*) input length:(size_t) length;
13 | + (NSString*) encode:(NSData*) rawBytes;
14 | + (NSData*) decode:(const char*) string length:(size_t) inputLength;
15 | + (NSData*) decode:(NSString*) string;
16 | @end
--------------------------------------------------------------------------------
/EmptyApp/Tests/RESTBase64.m:
--------------------------------------------------------------------------------
1 | //
2 | // RESTBase64.m
3 | // CouchCocoa
4 | //
5 | // Created by Jens Alfke on 9/14/11.
6 | // Copyright (c) 2011 Couchbase, Inc. All rights reserved.
7 | //
8 |
9 | #import "RESTBase64.h"
10 |
11 | // Based on public-domain source code by cyrus.najmabadi@gmail.com
12 | // taken from http://www.cocoadev.com/index.pl?BaseSixtyFour
13 |
14 |
15 | @implementation RESTBase64
16 |
17 |
18 | static const uint8_t kEncodingTable[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
19 | static int8_t kDecodingTable[256];
20 |
21 | + (void) initialize {
22 | if (self == [RESTBase64 class]) {
23 | memset(kDecodingTable, 0xFF, sizeof(kDecodingTable));
24 | for (NSInteger i = 0; i < sizeof(kEncodingTable); i++) {
25 | kDecodingTable[kEncodingTable[i]] = i;
26 | }
27 | }
28 | }
29 |
30 |
31 | + (NSString*) encode: (const void*)input length: (size_t)length {
32 | if (input == NULL)
33 | return nil;
34 | NSMutableData* data = [NSMutableData dataWithLength:((length + 2) / 3) * 4];
35 | uint8_t* output = (uint8_t*)data.mutableBytes;
36 |
37 | for (NSInteger i = 0; i < length; i += 3) {
38 | NSInteger value = 0;
39 | for (NSInteger j = i; j < (i + 3); j++) {
40 | value <<= 8;
41 |
42 | if (j < length) {
43 | value |= ((const uint8_t*)input)[j];
44 | }
45 | }
46 |
47 | NSInteger index = (i / 3) * 4;
48 | output[index + 0] = kEncodingTable[(value >> 18) & 0x3F];
49 | output[index + 1] = kEncodingTable[(value >> 12) & 0x3F];
50 | output[index + 2] = (i + 1) < length ? kEncodingTable[(value >> 6) & 0x3F] : '=';
51 | output[index + 3] = (i + 2) < length ? kEncodingTable[(value >> 0) & 0x3F] : '=';
52 | }
53 |
54 | return [[[NSString alloc] initWithData:data
55 | encoding:NSASCIIStringEncoding] autorelease];
56 | }
57 |
58 |
59 | + (NSString*) encode: (NSData*)rawBytes {
60 | return [self encode: rawBytes.bytes length: rawBytes.length];
61 | }
62 |
63 |
64 | + (NSData*) decode: (const char*)string length: (size_t)inputLength {
65 | if ((string == NULL) || (inputLength % 4 != 0)) {
66 | return nil;
67 | }
68 |
69 | while (inputLength > 0 && string[inputLength - 1] == '=') {
70 | inputLength--;
71 | }
72 |
73 | size_t outputLength = inputLength * 3 / 4;
74 | NSMutableData* data = [NSMutableData dataWithLength:outputLength];
75 | uint8_t* output = data.mutableBytes;
76 |
77 | NSInteger inputPoint = 0;
78 | NSInteger outputPoint = 0;
79 | while (inputPoint < inputLength) {
80 | uint8_t i0 = string[inputPoint++];
81 | uint8_t i1 = string[inputPoint++];
82 | uint8_t i2 = inputPoint < inputLength ? string[inputPoint++] : 'A'; /* 'A' will decode to \0 */
83 | uint8_t i3 = inputPoint < inputLength ? string[inputPoint++] : 'A';
84 |
85 | if (kDecodingTable[i0] < 0 || kDecodingTable[i1] < 0
86 | || kDecodingTable[i2] < 0 || kDecodingTable[i3] < 0)
87 | return nil;
88 |
89 | output[outputPoint++] = (kDecodingTable[i0] << 2) | (kDecodingTable[i1] >> 4);
90 | if (outputPoint < outputLength) {
91 | output[outputPoint++] = ((kDecodingTable[i1] & 0xf) << 4) | (kDecodingTable[i2] >> 2);
92 | }
93 | if (outputPoint < outputLength) {
94 | output[outputPoint++] = ((kDecodingTable[i2] & 0x3) << 6) | kDecodingTable[i3];
95 | }
96 | }
97 |
98 | return data;
99 | }
100 |
101 |
102 | + (NSData*) decode:(NSString*) string {
103 | NSData* ascii = [string dataUsingEncoding: NSASCIIStringEncoding];
104 | return [self decode: ascii.bytes length: ascii.length];
105 | }
106 |
107 |
108 | @end
109 |
--------------------------------------------------------------------------------
/EmptyApp/Tests/TestConnection.h:
--------------------------------------------------------------------------------
1 | //
2 | // TestConnection.h
3 | // Empty App
4 | //
5 | // Created by Jens Alfke on 11/11/11.
6 | // Copyright (c) 2011 CouchBase, Inc. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | /** A simple class that sends synchronous HTTP requests using NSURLConnection. */
12 | @interface TestConnection : NSObject
13 | {
14 | NSMutableURLRequest* _request;
15 | NSHTTPURLResponse* _response;
16 | NSMutableData* _responseBody;
17 | NSError* _error;
18 | BOOL _loading;
19 | }
20 |
21 | + (TestConnection*) connectionWithMethod: (NSString*)method
22 | path: (NSString*)relativePath
23 | body: (NSString*)body;
24 |
25 | @property (readonly) NSURL* URL;
26 |
27 | - (BOOL) run;
28 |
29 | @property (readonly) NSHTTPURLResponse* response;
30 | @property (readonly) NSData* responseBody;
31 | @property (readonly) NSString* responseString;
32 | @property (readonly) NSError* error;
33 |
34 | @end
35 |
--------------------------------------------------------------------------------
/EmptyApp/Tests/TestConnection.m:
--------------------------------------------------------------------------------
1 | //
2 | // TestConnection.m
3 | // Empty App
4 | //
5 | // Created by Jens Alfke on 11/11/11.
6 | // Copyright (c) 2011 CouchBase, Inc. All rights reserved.
7 | //
8 |
9 | #import "TestConnection.h"
10 | #import
11 |
12 |
13 | extern CouchbaseMobile* sCouchbase; // Defined in EmptyAppDelegate.m
14 |
15 |
16 | @implementation TestConnection
17 |
18 |
19 | - (id) initWithMethod: (NSString*)method
20 | path: (NSString*)relativePath
21 | body: (NSString*)body
22 | {
23 | self = [super init];
24 | if (self) {
25 | NSURL* url = [NSURL URLWithString: relativePath relativeToURL: sCouchbase.serverURL];
26 | _request = [[NSMutableURLRequest alloc] initWithURL: url];
27 | _request.HTTPMethod = method;
28 | _request.cachePolicy = NSURLRequestReloadIgnoringCacheData;
29 | if (body) {
30 | _request.HTTPBody = [body dataUsingEncoding: NSUTF8StringEncoding];
31 | [_request addValue: @"application/json" forHTTPHeaderField: @"Content-Type"];
32 | }
33 | _responseBody = [[NSMutableData alloc] init];
34 | }
35 | return self;
36 | }
37 |
38 | + (TestConnection*) connectionWithMethod: (NSString*)method
39 | path: (NSString*)relativePath
40 | body: (NSString*)body
41 | {
42 | return [[[self alloc] initWithMethod: method path: relativePath body: body] autorelease];
43 | }
44 |
45 |
46 | - (void)dealloc {
47 | [_request release];
48 | [_response release];
49 | [_error release];
50 | [_responseBody release];
51 | [super dealloc];
52 | }
53 |
54 |
55 | @synthesize response=_response, responseBody=_responseBody, error=_error;
56 |
57 | - (NSURL*) URL {
58 | return _request.URL;
59 | }
60 |
61 | - (NSString*) responseString {
62 | return [[[NSString alloc] initWithData: _responseBody encoding: NSUTF8StringEncoding]
63 | autorelease];
64 | }
65 |
66 |
67 | - (BOOL) run
68 | {
69 | NSAssert(!_response && !_error, @"Can't call -run twice");
70 | _loading = YES;
71 | NSURLConnection* connection = [NSURLConnection connectionWithRequest: _request delegate: self];
72 | [connection start];
73 | while (_loading) {
74 | if (![[NSRunLoop currentRunLoop] runMode: NSDefaultRunLoopMode
75 | beforeDate: [NSDate distantFuture]])
76 | break;
77 | }
78 | return _error == nil && _response && _response.statusCode < 300;
79 | }
80 |
81 |
82 | - (void)connection:(NSURLConnection *)connection
83 | didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge
84 | {
85 | if (challenge.previousFailureCount == 0) {
86 | NSURLCredential* credential = sCouchbase.adminCredential;
87 | if (credential) {
88 | [challenge.sender useCredential: credential forAuthenticationChallenge: challenge];
89 | return;
90 | }
91 | }
92 | // give up
93 | [challenge.sender cancelAuthenticationChallenge: challenge];
94 | }
95 |
96 | - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response {
97 | _response = (NSHTTPURLResponse*) [response retain];
98 | }
99 |
100 | - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data {
101 | [_responseBody appendData: data];
102 | }
103 |
104 | - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error {
105 | _error = [error retain];
106 | _loading = NO;
107 | }
108 |
109 | - (void)connectionDidFinishLoading:(NSURLConnection *)connection {
110 | _loading = NO;
111 | }
112 |
113 |
114 | @end
115 |
--------------------------------------------------------------------------------
/EmptyApp/Tests/en.lproj/InfoPlist.strings:
--------------------------------------------------------------------------------
1 | /* Localized versions of Info.plist keys */
2 |
3 |
--------------------------------------------------------------------------------
/Framework/Couchbase.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Framework/Couchbase.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEWorkspaceSharedSettings_AutocreateContextsIfNeeded
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Framework/Couchbase.xcodeproj/xcshareddata/xcschemes/Couchbase.framework.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
4 |
7 |
8 |
14 |
20 |
21 |
22 |
28 |
34 |
35 |
36 |
42 |
48 |
49 |
50 |
56 |
62 |
63 |
64 |
65 |
66 |
71 |
72 |
73 |
74 |
81 |
82 |
83 |
84 |
90 |
91 |
93 |
94 |
97 |
98 |
99 |
--------------------------------------------------------------------------------
/Framework/Resources/Couchbase.framework-Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | English
7 | CFBundleExecutable
8 | ${EXECUTABLE_NAME}
9 | CFBundleIconFile
10 |
11 | CFBundleIdentifier
12 | org.couchbase.${PRODUCT_NAME:rfc1034identifier}
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | ${PRODUCT_NAME}
17 | CFBundlePackageType
18 | FMWK
19 | CFBundleShortVersionString
20 | 1.0 developer preview (build ${CURRENT_PROJECT_VERSION})
21 | CFBundleSignature
22 | ????
23 | CFBundleVersion
24 | ${CURRENT_PROJECT_VERSION}
25 | NSHumanReadableCopyright
26 |
27 | NSPrincipalClass
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Framework/Resources/default_ios.ini:
--------------------------------------------------------------------------------
1 | ;
2 | ; default_ios.ini
3 | ; Couchbase Mobile
4 | ;
5 | ; This file overrides default.ini.
6 | ; It contains default configuration settings for Mobile Couchbase on iOS.
7 | ;
8 | ; Application-specific configuration should go into a separate .ini file in the app bundle,
9 | ; which can then be registered by setting the CouchbaseEmbeddedServer.iniFilePath property.
10 | ; That file will then override the settings here.
11 | ;
12 | ; Applications can also alter the configuration persistently at runtime by writing to the
13 | ; server's _config URI.
14 | ;
15 | ; This file is preprocessed before being shown to CouchDB:
16 | ; $INSTALLDIR --> Application's 'Documents' directory
17 | ; $BUNDLEDIR --> The "CouchbaseResources" directory in the app bundle
18 | ; $LOGLEVEL --> The log level CouchDB should use ('none' or 'info')
19 | ;
20 |
21 | [couchdb]
22 | database_dir = $INSTALLDIR/couchdb
23 | view_index_dir = $INSTALLDIR/couchdb
24 | uri_file = $INSTALLDIR/couch.uri
25 |
26 | [log]
27 | level = $LOGLEVEL
28 | file = $INSTALLDIR/log/couch.log
29 |
30 | [view_server_emonk]
31 | num_threads = 2
32 | mapred_js = $BUNDLEDIR/erlang/emonk_mapred.js
33 |
34 | [view_servers]
35 | objc = {couch_view_server_objc, nil}
36 |
37 | [app_servers]
38 | objc = {couch_app_server_objc, nil}
39 |
40 | [app_server_emonk]
41 | source = $BUNDLEDIR/erlang/emonk_app.js
42 |
43 | [httpd_global_handlers]
44 | favicon.ico = {couch_httpd_misc_handlers, handle_favicon_req, "$INSTALLDIR/utils"}
45 | _utils = {couch_httpd_misc_handlers, handle_utils_dir_req, "$INSTALLDIR/utils"}
46 |
47 | [daemons]
48 | ios_driver={couch_ios, start_link, []}
49 |
50 | [httpd]
51 | bind_address = 127.0.0.1 ; only local clients: will not accept HTTP connections over WiFi
52 | port = 0 ; means server will pick an available port when it starts
53 | WWW-Authenticate = Basic realm="Couchbase Mobile" ; triggers client to attempt basic auth
54 |
55 | [couch_httpd_auth]
56 | require_valid_user = true ; Disables anonymous access (read or write)
57 |
58 | [replicator]
59 | ; set to false to ignore validity of peer certs (insecure and not recommended!)
60 | verify_ssl_certificates = true
61 | ; file containing a list of peer trusted certificates (PEM format)
62 | ssl_trusted_certificates_file = $APPDIR/CouchbaseTrustedCerts.pem
63 | ; maximum peer certificate depth (must be set even if certificate validation is off)
64 | ssl_certificate_max_depth = 3
65 |
66 | [daemons]
67 | spatial_manager={couch_spatial, start_link, []}
68 |
69 | [httpd_db_handlers]
70 | _spatial_cleanup = {couch_httpd_spatial, handle_spatial_cleanup_req}
71 |
72 | [httpd_design_handlers]
73 | _spatial = {couch_httpd_spatial, handle_spatial_req}
74 | _spatial/_list = {couch_httpd_spatial_list, handle_spatial_list_req}
75 | _spatial/_info = {couch_httpd_spatial, handle_design_info_req}
76 | _spatial/_compact = {couch_httpd_spatial, handle_compact_req}
77 | ;deprecated API
78 | _spatiallist = {couch_httpd_spatial_list, handle_spatial_list_req_deprecated}
79 |
--------------------------------------------------------------------------------
/Framework/Scripts/build_erlang_packages.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 | # This script is called by a build phase in the Couchbase.framework target of the Couchbase project.
4 | # It compiles the Erlang source code of Couchbase and its dependencies.
5 | # The current directory is assumed to be the parent of Couchbase.xcodeproj.
6 |
7 | set -e # Bail out if any command returns an error
8 | export PATH=$PATH:/usr/local/bin:/opt/local/bin # Erlang is often installed in nonstandard places
9 |
10 | ERLANG_DSTDIR="${CONFIGURATION_BUILD_DIR}/${CONTENTS_FOLDER_PATH}/CouchbaseResources/erlang"
11 | COMPILE=Scripts/compile_erlang_dir.sh
12 |
13 | # First copy the checked-in erlang resources into the framework:
14 | echo "Copying erlang dir to ${ERLANG_DSTDIR}"
15 | ditto "${SRCROOT}/erlang" "${ERLANG_DSTDIR}"
16 |
17 | # Now compile the Erlang libraries we build from source:
18 | $COMPILE "../../vendor/couchdb/src/couchdb" "couch.erl couch_api_wrap.erl couch_api_wrap_httpc.erl couch_app.erl couch_app_server.erl couch_app_server_emonk.erl couch_app_server_erlang.erl couch_app_server_objc.erl couch_auth_cache.erl couch_btree.erl couch_changes.erl couch_compaction_daemon.erl couch_compress.erl couch_compress_types.erl couch_config.erl couch_config_writer.erl couch_db.erl couch_db_frontend.erl couch_db_update_notifier.erl couch_db_update_notifier_sup.erl couch_db_updater.erl couch_doc.erl couch_drv.erl couch_event_sup.erl couch_external_manager.erl couch_external_server.erl couch_file.erl couch_httpc_pool.erl couch_httpd.erl couch_httpd_auth.erl couch_httpd_db.erl couch_httpd_external.erl couch_httpd_misc_handlers.erl couch_httpd_oauth.erl couch_httpd_proxy.erl couch_httpd_replicator.erl couch_httpd_rewrite.erl couch_httpd_show.erl couch_httpd_stats_handlers.erl couch_httpd_vhost.erl couch_httpd_view.erl couch_httpd_view_merger.erl couch_internal_load_gen.erl couch_key_tree.erl couch_log.erl couch_native_process.erl couch_os_daemons.erl couch_os_process.erl couch_primary_sup.erl couch_query_servers.erl couch_ref_counter.erl couch_rep_sup.erl couch_replication_manager.erl couch_replication_notifier.erl couch_replicator.erl couch_replicator_doc_copier.erl couch_replicator_rev_finder.erl couch_replicator_utils.erl couch_secondary_sup.erl couch_server.erl couch_server_sup.erl couch_stats_aggregator.erl couch_stats_collector.erl couch_stream.erl couch_task_status.erl couch_util.erl couch_uuids.erl couch_view.erl couch_view_compactor.erl couch_view_group.erl couch_view_merger.erl couch_view_server.erl couch_view_server_emonk.erl couch_view_server_erlang.erl couch_view_server_objc.erl couch_view_server_os.erl couch_view_updater.erl couch_work_queue.erl json_stream_parse.erl couch_ios.erl" "$ERLANG_DSTDIR/lib/couch/ebin"
19 |
20 | $COMPILE "../../vendor/couchdb/src/erlang-oauth" "oauth.erl oauth_hmac_sha1.erl oauth_http.erl oauth_plaintext.erl oauth_rsa_sha1.erl oauth_unix.erl oauth_uri.erl" "$ERLANG_DSTDIR/lib/erlang-oauth/ebin"
21 |
22 | $COMPILE "../../vendor/couchdb/src/ibrowse" "ibrowse.erl ibrowse_app.erl ibrowse_http_client.erl ibrowse_lb.erl ibrowse_lib.erl ibrowse_sup.erl ibrowse_test.erl" "$ERLANG_DSTDIR/lib/ibrowse"
23 |
24 | $COMPILE "../../vendor/couchdb/src/mochiweb" "mochifmt.erl mochifmt_records.erl mochifmt_std.erl mochiglobal.erl mochihex.erl mochijson.erl mochijson2.erl mochilists.erl mochilogfile2.erl mochinum.erl mochitemp.erl mochiutf8.erl mochiweb.erl mochiweb_acceptor.erl mochiweb_app.erl mochiweb_charref.erl mochiweb_cookies.erl mochiweb_cover.erl mochiweb_echo.erl mochiweb_headers.erl mochiweb_html.erl mochiweb_http.erl mochiweb_io.erl mochiweb_mime.erl mochiweb_multipart.erl mochiweb_request.erl mochiweb_request_tests.erl mochiweb_response.erl mochiweb_skel.erl mochiweb_socket.erl mochiweb_socket_server.erl mochiweb_sup.erl mochiweb_util.erl reloader.erl" "$ERLANG_DSTDIR/lib/mochiweb/ebin"
25 |
26 | $COMPILE "../../vendor/couchdb/src/ejson" "ejson.erl mochijson2.erl mochinum.erl" "$ERLANG_DSTDIR/lib/ejson/ebin"
27 |
28 | $COMPILE "../../vendor/couchdb/src/snappy" "snappy.erl" "$ERLANG_DSTDIR/lib/snappy/ebin"
29 |
30 | $COMPILE "../../vendor/couchdb/src/emonk/src" "emonk.erl" "$ERLANG_DSTDIR/lib/emonk/ebin"
31 |
32 | $COMPILE "../../vendor/couchdb/src/objc-dispatch/src" "objc_dispatch.erl" "$ERLANG_DSTDIR/lib/objc-dispatch/ebin"
33 |
34 | $COMPILE "../../vendor/geocouch/src/geocouch" "couch_httpd_spatial.erl couch_spatial.erl couch_spatial_compactor.erl couch_spatial_updater.erl couch_httpd_spatial_list.erl couch_spatial_group.erl geocouch_duplicates.erl" "$ERLANG_DSTDIR/lib/geocouch/ebin" "../../../couchdb/src/couchdb"
35 |
36 | $COMPILE "../../vendor/geocouch/src/vtree" "vtree.erl vtree_bulk.erl vtree_insbench.erl vtreestats.erl vtreeviz.erl" "$ERLANG_DSTDIR/lib/geocouch/ebin" "../../../couchdb/src/couchdb"
37 |
38 | # Strip debug info & symbols out of the .beam files -- this saves a LOT of disk space:
39 | echo "Stripping .beam files..."
40 | cd "${ERLANG_DSTDIR}"
41 | erl -noinput -eval 'erlang:display(beam_lib:strip_release("."))' -s init stop
42 |
--------------------------------------------------------------------------------
/Framework/Scripts/compile_erlang_dir.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | #
3 | # Subroutine of build_couchdb.sh that compiles a bunch of Erlang files into a destination dir.
4 | # The current directory is assumed to be the parent of Couchbase.xcodeproj, and the couchdb repo
5 | # is assumed to be checked out into a 'vendor' directory next to the iOS-Couchbase repo, as
6 | # specified by the manifest.
7 | #
8 | # Usage:
9 | # build_app.sh sourcedirname filelist dstdir [includedir]
10 |
11 | set -e # Bail out if any command returns an error
12 |
13 | echo "Building $1 into $3"
14 | mkdir -p "$3"
15 | cd "$1"
16 |
17 | if [ $# -ne 4 ]; then
18 | erlc -W0 +compressed -o "$3" $2
19 | else
20 | erlc -W0 +compressed -I $4 -o "$3" $2
21 | fi
22 |
--------------------------------------------------------------------------------
/Framework/Scripts/concat_js_files.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 | ERLANG_DSTDIR="${CONFIGURATION_BUILD_DIR}/${CONTENTS_FOLDER_PATH}/CouchbaseResources/erlang"
3 |
4 | cd ../../vendor/couchdb/share/server
5 |
6 | cat util.js emonk_app.js > "$ERLANG_DSTDIR/emonk_app.js"
7 | cat util.js emonk_mapred.js > "$ERLANG_DSTDIR/emonk_mapred.js"
8 |
--------------------------------------------------------------------------------
/Framework/erlang/bin/start.boot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/bin/start.boot
--------------------------------------------------------------------------------
/Framework/erlang/bin/start_clean.boot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/bin/start_clean.boot
--------------------------------------------------------------------------------
/Framework/erlang/bin/start_sasl.boot:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/bin/start_sasl.boot
--------------------------------------------------------------------------------
/Framework/erlang/erl_inetrc:
--------------------------------------------------------------------------------
1 | %% Use erlang's internal resolver. Native DNS on android is annoying
2 | {lookup, [file,dns]}.
3 | %% TODO: Not this,
4 | {nameserver, {8,8,8,8}}.
5 |
6 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/couch/ebin/couch.app:
--------------------------------------------------------------------------------
1 | {application, couch, [
2 | {description, "Couchbase Mobile"},
3 | {vsn, "2.0.0-beta"},
4 | {modules, [couch,couch_app,couch_app_server,couch_app_server_emonk,couch_app_server_erlang,couch_app_server_objc,couch_app_server_os,couch_auth_cache,couch_btree,couch_changes,couch_config,couch_config_writer,couch_db,couch_db_update_notifier,couch_db_update_notifier_sup,couch_db_updater,couch_doc,couch_event_sup,couch_external_manager,couch_external_server,couch_file,couch_httpd,couch_httpd_auth,couch_httpd_db,couch_httpd_external,couch_httpd_misc_handlers,couch_httpd_oauth,couch_httpd_rewrite,couch_httpd_show,couch_httpd_stats_handlers,couch_httpd_vhost,couch_httpd_view,couch_key_tree,couch_log,couch_native_process,couch_os_process,couch_query_servers,couch_ref_counter,couch_rep,couch_rep_att,couch_rep_changes_feed,couch_rep_db_listener,couch_rep_httpc,couch_rep_missing_revs,couch_rep_reader,couch_rep_sup,couch_rep_writer,couch_server,couch_server_sup,couch_stats_aggregator,couch_stats_collector,couch_stream,couch_task_status,couch_util,couch_uuids,couch_view,couch_view_compactor,couch_view_group,couch_view_server,couch_view_server_emonk,couch_view_server_erlang,couch_view_server_objc,couch_view_server_os,couch_view_updater,couch_work_queue]},
5 | {registered, [
6 | couch_config,
7 | couch_db_update,
8 | couch_db_update_notifier_sup,
9 | couch_external_manager,
10 | couch_httpd,
11 | couch_log,
12 | couch_primary_services,
13 | couch_query_servers,
14 | couch_rep_sup,
15 | couch_secondary_services,
16 | couch_server,
17 | couch_server_sup,
18 | couch_stats_aggregator,
19 | couch_stats_collector,
20 | couch_task_status,
21 | couch_view
22 | ]},
23 | {mod, {couch_app, [
24 | "/usr/local/etc/couchdb/default.ini",
25 | "/usr/local/etc/couchdb/local.ini"
26 | ]}},
27 | {applications, [kernel, stdlib]},
28 | {included_applications, [crypto, sasl, inets, oauth, ibrowse, mochiweb]}
29 | ]}.
30 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/couch/priv/couchspawnkillable:
--------------------------------------------------------------------------------
1 | #!/system/bin/sh -e
2 |
3 | # Licensed under the Apache License, Version 2.0 (the "License"); you may not
4 | # use this file except in compliance with the License. You may obtain a copy of
5 | # the License at
6 | #
7 | # http://www.apache.org/licenses/LICENSE-2.0
8 | #
9 | # Unless required by applicable law or agreed to in writing, software
10 | # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11 | # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 | # License for the specific language governing permissions and limitations under
13 | # the License.
14 |
15 | # The purpose of this script is to echo an OS specific command before launching
16 | # the actual process. This provides a way for Erlang to hard-kill its external
17 | # processes.
18 |
19 | echo "kill -9 $$"
20 | exec $*
21 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/couch/priv/lib/couch_icu_driver.la:
--------------------------------------------------------------------------------
1 | # couch_icu_driver.la - a libtool library file
2 | # Generated by ltmain.sh (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
3 | #
4 | # Please DO NOT delete this file!
5 | # It is necessary for linking the library.
6 |
7 | # The name that we can dlopen(3).
8 | dlname=''
9 |
10 | # Names of this library.
11 | library_names=''
12 |
13 | # The name of the static archive.
14 | old_library='libcouch_icu_driver.a'
15 |
16 | # Linker flags that can not go in dependency_libs.
17 | inherited_linker_flags=''
18 |
19 | # Libraries that this one depends upon.
20 | dependency_libs=' -L/home/apage43/android_build/out/target/product/generic/system/lib -L/home/apage43/mcdb/js/src/build-rel/dist/lib/ -L/usr/local/lib -L/opt/local/lib -lm -licuuc -licudata -licui18n'
21 |
22 | # Names of additional weak libraries provided by this library
23 | weak_library_names=''
24 |
25 | # Version information for libcouch_icu_driver.
26 | current=0
27 | age=0
28 | revision=0
29 |
30 | # Is this an already installed library?
31 | installed=yes
32 |
33 | # Should we warn about portability when linking against -modules?
34 | shouldnotlink=yes
35 |
36 | # Files to dlopen/dlpreopen
37 | dlopen=''
38 | dlpreopen=''
39 |
40 | # Directory that this library needs to be installed in:
41 | libdir='/sdcard/couch/lib/couchdb/erlang/lib/couch-0.12.0ae9970e7-git/priv/lib'
42 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/couch/priv/lib/libcouch_icu_driver.a:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/couch/priv/lib/libcouch_icu_driver.a
--------------------------------------------------------------------------------
/Framework/erlang/lib/couch/priv/stat_descriptions.cfg:
--------------------------------------------------------------------------------
1 | %% Licensed under the Apache License, Version 2.0 (the "License"); you may not
2 | %% use this file except in compliance with the License. You may obtain a copy of
3 | %% the License at
4 | %%
5 | %% http://www.apache.org/licenses/LICENSE-2.0
6 | %%
7 | %% Unless required by applicable law or agreed to in writing, software
8 | %% distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
9 | %% WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
10 | %% License for the specific language governing permissions and limitations under
11 | %% the License.
12 |
13 | % Style guide for descriptions: Start with a lowercase letter & do not add
14 | % a trailing full-stop / period
15 | % Please keep this in alphabetical order
16 |
17 | {couchdb, database_writes, "number of times a database was changed"}.
18 | {couchdb, database_reads, "number of times a document was read from a database"}.
19 | {couchdb, open_databases, "number of open databases"}.
20 | {couchdb, open_os_files, "number of file descriptors CouchDB has open"}.
21 | {couchdb, request_time, "length of a request inside CouchDB without MochiWeb"}.
22 |
23 | {httpd, bulk_requests, "number of bulk requests"}.
24 | {httpd, requests, "number of HTTP requests"}.
25 | {httpd, temporary_view_reads, "number of temporary view reads"}.
26 | {httpd, view_reads, "number of view reads"}.
27 | {httpd, clients_requesting_changes, "number of clients for continuous _changes"}.
28 |
29 | {httpd_request_methods, 'COPY', "number of HTTP COPY requests"}.
30 | {httpd_request_methods, 'DELETE', "number of HTTP DELETE requests"}.
31 | {httpd_request_methods, 'GET', "number of HTTP GET requests"}.
32 | {httpd_request_methods, 'HEAD', "number of HTTP HEAD requests"}.
33 | {httpd_request_methods, 'MOVE', "number of HTTP MOVE requests"}.
34 | {httpd_request_methods, 'POST', "number of HTTP POST requests"}.
35 | {httpd_request_methods, 'PUT', "number of HTTP PUT requests"}.
36 |
37 | {httpd_status_codes, '200', "number of HTTP 200 OK responses"}.
38 | {httpd_status_codes, '201', "number of HTTP 201 Created responses"}.
39 | {httpd_status_codes, '202', "number of HTTP 202 Accepted responses"}.
40 | {httpd_status_codes, '301', "number of HTTP 301 Moved Permanently responses"}.
41 | {httpd_status_codes, '304', "number of HTTP 304 Not Modified responses"}.
42 | {httpd_status_codes, '400', "number of HTTP 400 Bad Request responses"}.
43 | {httpd_status_codes, '401', "number of HTTP 401 Unauthorized responses"}.
44 | {httpd_status_codes, '403', "number of HTTP 403 Forbidden responses"}.
45 | {httpd_status_codes, '404', "number of HTTP 404 Not Found responses"}.
46 | {httpd_status_codes, '405', "number of HTTP 405 Method Not Allowed responses"}.
47 | {httpd_status_codes, '409', "number of HTTP 409 Conflict responses"}.
48 | {httpd_status_codes, '412', "number of HTTP 412 Precondition Failed responses"}.
49 | {httpd_status_codes, '500', "number of HTTP 500 Internal Server Error responses"}.
50 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/crypto-1.6.4/ebin/crypto.app:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1999-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | {application, crypto,
20 | [{description, "CRYPTO version 1"},
21 | {vsn, "1.6.4"},
22 | {modules, [crypto,
23 | crypto_app,
24 | crypto_sup,
25 | crypto_server]},
26 | {registered, [crypto_sup, crypto_server]},
27 | {applications, [kernel, stdlib]},
28 | {env, []},
29 | {mod, {crypto_app, []}}]}.
30 |
31 |
32 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/crypto-1.6.4/ebin/crypto.appup:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1999-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | {"1.6.4",
20 | [],
21 | []
22 | }.
23 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/crypto-1.6.4/ebin/crypto.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/crypto-1.6.4/ebin/crypto.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/crypto-1.6.4/ebin/crypto_app.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/crypto-1.6.4/ebin/crypto_app.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/crypto-1.6.4/ebin/crypto_server.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/crypto-1.6.4/ebin/crypto_server.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/crypto-1.6.4/ebin/crypto_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/crypto-1.6.4/ebin/crypto_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/crypto-1.6.4/priv/obj/Makefile:
--------------------------------------------------------------------------------
1 | # ``The contents of this file are subject to the Erlang Public License,
2 | # Version 1.1, (the "License"); you may not use this file except in
3 | # compliance with the License. You should have received a copy of the
4 | # Erlang Public License along with this software. If not, it can be
5 | # retrieved via the world wide web at http://www.erlang.org/.
6 | #
7 | # Software distributed under the License is distributed on an "AS IS"
8 | # basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
9 | # the License for the specific language governing rights and limitations
10 | # under the License.
11 | #
12 | # The Initial Developer of the Original Code is Ericsson Utvecklings AB.
13 | # Portions created by Ericsson are Copyright 1999, Ericsson Utvecklings
14 | # AB. All Rights Reserved.''
15 | #
16 | # $Id$
17 | #
18 |
19 | # ----------------------------------------------------
20 | # THIS MAKEFILE SERVES AS AN EXAMPLE OF
21 | # HOW TO RELINK THE CRYPTO DRIVER
22 | # ----------------------------------------------------
23 |
24 | # ----------------------------------------------------
25 | # Variables for linking a .so driver on unix.
26 | # Note: These may differ between systems.
27 | # ----------------------------------------------------
28 |
29 | SO_LD = gcc
30 | SO_LDFLAGS = -G
31 | SO_SSL_LIBDIR = /usr/local/lib
32 | SO_DRIVER = $(LIBDIR)/$(DRIVER_NAME).so
33 |
34 | # ----------------------------------------------------
35 | # Variables for linking a win32 .dll driver.
36 | # Note: These may differ between systems.
37 | # ----------------------------------------------------
38 |
39 | DLL_LD = link.exe
40 | DLL_LDFLAGS = -release -nologo -incremental:no -dll
41 | DLL_LIBDIR = "c:\\OpenSSL\\lib\\VC"
42 | DLL_LIBS = libeay32.lib MSVCRT.LIB kernel32.lib \
43 | advapi32.lib gdi32.lib user32.lib \
44 | comctl32.lib comdlg32.lib shell32.lib
45 | DLL_DRIVER = $(LIBDIR)/$(DRIVER_NAME).dll
46 | DLL_EXP = $(LIBDIR)/$(DRIVER_NAME).exp
47 | DLL_LIB = $(LIBDIR)/$(DRIVER_NAME).lib
48 |
49 | # ----------------------------------------------------
50 | # Common variables
51 | # ----------------------------------------------------
52 |
53 | OBJDIR = ./
54 | LIBDIR = ../lib
55 | DRIVER_NAME = crypto_drv
56 | OBJS = $(OBJDIR)/crypto_drv.o
57 |
58 | # ----------------------------------------------------
59 | # Targets
60 | # ----------------------------------------------------
61 |
62 | $(SO_DRIVER): $(OBJS)
63 | $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-E -Wl,-Bsymbolic -Wl,-R$(SO_SSL_LIBDIR) \
64 | -o $@ $^ -lcrypto
65 |
66 | $(DLL_DRIVER): $(OBJS)
67 | $(DLL_LD) $(DLL_LDFLAGS) -out:$@ -libpath:$(DLL_LIBDIR) $(OBJS) \
68 | $(DLL_LIBS)
69 |
70 | so: $(SO_DRIVER)
71 |
72 | dll: $(DLL_DRIVER)
73 |
74 | clean:
75 | rm -f $(SO_DRIVER) $(DLL_DRIVER)
76 | rm -f $(DLL_EXP) $(DLL_LIB)
77 | rm -f core *~
78 |
79 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/ejson/ebin/ejson.app:
--------------------------------------------------------------------------------
1 | {application, ejson, [
2 | {description, "EJSON - decode and encode JSON into/from Erlang terms"},
3 | {vsn, "0.1.0"},
4 | {modules, [ejson]},
5 | {registered, []},
6 | {applications, [kernel, stdlib]},
7 | {env, []}
8 | ]}.
9 |
10 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/emonk/ebin/emonk.app:
--------------------------------------------------------------------------------
1 | {application, emonk, [
2 | {description, "Emonk - JavaScript bindings for Erlang"},
3 | {vsn, "0.0.0"},
4 | {modules, [emonk]},
5 | {registered, []},
6 | {applications, [kernel, stdlib]},
7 | {env, []}
8 | ]}.
9 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/erlang-oauth/ebin/oauth.app:
--------------------------------------------------------------------------------
1 | {application, oauth, [
2 | {description, "Erlang OAuth implementation"},
3 | {vsn, "dev"},
4 | {modules, [
5 | oauth,
6 | oauth_hmac_sha1,
7 | oauth_http,
8 | oauth_plaintext,
9 | oauth_rsa_sha1,
10 | oauth_unix,
11 | oauth_uri
12 | ]},
13 | {registered, []},
14 | {applications, [
15 | kernel,
16 | stdlib,
17 | crypto,
18 | inets
19 | ]}
20 | ]}.
21 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/erts-5.7.5/ebin/erl_prim_loader.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/erts-5.7.5/ebin/erl_prim_loader.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/erts-5.7.5/ebin/erlang.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/erts-5.7.5/ebin/erlang.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/erts-5.7.5/ebin/init.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/erts-5.7.5/ebin/init.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/erts-5.7.5/ebin/otp_ring0.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/erts-5.7.5/ebin/otp_ring0.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/erts-5.7.5/ebin/prim_file.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/erts-5.7.5/ebin/prim_file.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/erts-5.7.5/ebin/prim_inet.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/erts-5.7.5/ebin/prim_inet.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/erts-5.7.5/ebin/prim_zip.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/erts-5.7.5/ebin/prim_zip.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/erts-5.7.5/ebin/zlib.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/erts-5.7.5/ebin/zlib.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ibrowse/ibrowse.app:
--------------------------------------------------------------------------------
1 | {application, ibrowse,
2 | [{description, "HTTP client application"},
3 | {vsn, "1.6.2"},
4 | {modules, [ ibrowse,
5 | ibrowse_http_client,
6 | ibrowse_app,
7 | ibrowse_sup,
8 | ibrowse_lib,
9 | ibrowse_lb ]},
10 | {registered, []},
11 | {applications, [kernel,stdlib,sasl]},
12 | {env, []},
13 | {mod, {ibrowse_app, []}}]}.
14 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/ibrowse/ibrowse.hrl:
--------------------------------------------------------------------------------
1 | -ifndef(IBROWSE_HRL).
2 | -define(IBROWSE_HRL, "ibrowse.hrl").
3 |
4 | -record(url, {abspath, host, port, username, password, path, protocol}).
5 |
6 | -record(lb_pid, {host_port, pid}).
7 |
8 | -record(client_conn, {key, cur_pipeline_size = 0, reqs_served = 0}).
9 |
10 | -record(ibrowse_conf, {key, value}).
11 |
12 | -endif.
13 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/ftp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/ftp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/ftp_progress.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/ftp_progress.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/ftp_response.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/ftp_response.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/ftp_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/ftp_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/http.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/http.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/http_chunk.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/http_chunk.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/http_request.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/http_request.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/http_response.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/http_response.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/http_transport.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/http_transport.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/http_uri.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/http_uri.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/http_util.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/http_util.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpc.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpc.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpc_cookie.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpc_cookie.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpc_handler.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpc_handler.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpc_handler_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpc_handler_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpc_manager.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpc_manager.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpc_profile_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpc_profile_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpc_request.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpc_request.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpc_response.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpc_response.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpc_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpc_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_acceptor.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_acceptor.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_acceptor_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_acceptor_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_cgi.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_cgi.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_conf.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_conf.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_esi.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_esi.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_example.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_example.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_file.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_file.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_instance_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_instance_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_log.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_log.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_manager.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_manager.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_misc_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_misc_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_request.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_request.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_request_handler.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_request_handler.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_response.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_response.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_script_env.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_script_env.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_socket.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_socket.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/httpd_util.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/httpd_util.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/inets.app:
--------------------------------------------------------------------------------
1 | %% This is an -*- erlang -*- file.
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1997-2010. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 |
20 | {application,inets,
21 | [{description,"INETS CXC 138 49"},
22 | {vsn,"5.3"},
23 | {modules,[
24 | inets,
25 | inets_sup,
26 | inets_app,
27 | inets_service,
28 | inets_regexp,
29 |
30 | %% FTP
31 | ftp,
32 | ftp_progress,
33 | ftp_response,
34 | ftp_sup,
35 |
36 | %% HTTP client:
37 | http, %% Old client API module
38 | httpc, %% New client API module
39 | httpc_handler,
40 | httpc_handler_sup,
41 | httpc_manager,
42 | httpc_profile_sup,
43 | httpc_request,
44 | httpc_response,
45 | httpc_sup,
46 | httpc_cookie,
47 |
48 | http_uri, %% Proably will by used by server also in the future
49 |
50 | %% HTTP used by both client and server
51 | http_chunk,
52 | http_request,
53 | http_response,
54 | http_transport,
55 | http_util,
56 |
57 | %% HTTP server:
58 | httpd,
59 | httpd_acceptor,
60 | httpd_acceptor_sup,
61 | httpd_cgi,
62 | httpd_conf,
63 | httpd_esi,
64 | httpd_example,
65 | httpd_file,
66 | httpd_instance_sup,
67 | httpd_log,
68 | httpd_manager,
69 | httpd_misc_sup,
70 | httpd_request,
71 | httpd_request_handler,
72 | httpd_response,
73 | httpd_script_env,
74 | httpd_socket,
75 | httpd_sup,
76 | httpd_util,
77 | mod_actions,
78 | mod_alias,
79 | mod_auth,
80 | mod_auth_dets,
81 | mod_auth_mnesia,
82 | mod_auth_plain,
83 | mod_auth_server,
84 | mod_browser,
85 | mod_cgi,
86 | mod_dir,
87 | mod_disk_log,
88 | mod_esi,
89 | mod_get,
90 | mod_head,
91 | mod_htaccess,
92 | mod_include,
93 | mod_log,
94 | mod_range,
95 | mod_responsecontrol,
96 | mod_security,
97 | mod_security_server,
98 | mod_trace,
99 |
100 | %% TFTP
101 | tftp,
102 | tftp_binary,
103 | tftp_engine,
104 | tftp_file,
105 | tftp_lib,
106 | tftp_logger,
107 | tftp_sup
108 | ]},
109 | {registered,[inets_sup, httpc_manager]},
110 | {applications,[kernel,stdlib]},
111 | {mod,{inets_app,[]}}]}.
112 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/inets.appup:
--------------------------------------------------------------------------------
1 | %% This is an -*- erlang -*- file.
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1999-2010. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 |
19 | {"5.3",
20 | [
21 | {"5.2",
22 | [
23 | {restart_application, inets}
24 | ]
25 | },
26 | {"5.1.3",
27 | [
28 | {restart_application, inets}
29 | ]
30 | },
31 | {"5.1.2",
32 | [
33 | {restart_application, inets}
34 | ]
35 | }
36 | ],
37 | [
38 | {"5.2",
39 | [
40 | {restart_application, inets}
41 | ]
42 | },
43 | {"5.1.3",
44 | [
45 | {restart_application, inets}
46 | ]
47 | },
48 | {"5.1.2",
49 | [
50 | {restart_application, inets}
51 | ]
52 | }
53 | ]
54 | }.
55 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/inets.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/inets.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/inets_app.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/inets_app.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/inets_regexp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/inets_regexp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/inets_service.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/inets_service.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/inets_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/inets_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_actions.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_actions.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_alias.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_alias.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_auth.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_auth.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_auth_dets.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_auth_dets.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_auth_mnesia.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_auth_mnesia.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_auth_plain.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_auth_plain.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_auth_server.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_auth_server.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_browser.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_browser.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_cgi.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_cgi.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_dir.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_dir.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_disk_log.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_disk_log.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_esi.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_esi.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_get.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_get.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_head.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_head.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_htaccess.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_htaccess.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_include.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_include.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_log.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_log.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_range.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_range.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_responsecontrol.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_responsecontrol.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_security.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_security.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_security_server.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_security_server.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/mod_trace.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/mod_trace.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/tftp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/tftp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/tftp_binary.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/tftp_binary.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/tftp_engine.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/tftp_engine.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/tftp_file.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/tftp_file.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/tftp_lib.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/tftp_lib.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/tftp_logger.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/tftp_logger.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/ebin/tftp_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/inets-5.3/ebin/tftp_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/priv/bin/runcgi.sh:
--------------------------------------------------------------------------------
1 | #!/system/bin/sh
2 | cd $1
3 | shift
4 | exec env "$@"
5 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/src/ftp_internal.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 2005-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %%
20 |
21 | -ifndef(ftp_internal_hrl).
22 | -define(ftp_internal_hrl, true).
23 |
24 | -include("inets_internal.hrl").
25 | -define(SERVICE, ftpc).
26 | -define(fcri(Label, Content), ?report_important(Label, ?SERVICE, Content)).
27 | -define(fcrv(Label, Content), ?report_verbose(Label, ?SERVICE, Content)).
28 | -define(fcrd(Label, Content), ?report_debug(Label, ?SERVICE, Content)).
29 | -define(fcrt(Label, Content), ?report_trace(Label, ?SERVICE, Content)).
30 |
31 | -endif. % -ifdef(ftp_internal_hrl).
32 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/src/http_internal.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 2002-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %%
20 |
21 | -include("inets_internal.hrl").
22 |
23 | -define(HTTP_MAX_BODY_SIZE, nolimit).
24 | -define(HTTP_MAX_HEADER_SIZE, 10240).
25 | -define(HTTP_MAX_URI_SIZE, nolimit).
26 |
27 | %%% Response headers
28 | -record(http_response_h,{
29 | %%% --- Standard "General" headers
30 | 'cache-control',
31 | connection,
32 | date,
33 | pragma,
34 | trailer,
35 | 'transfer-encoding',
36 | upgrade,
37 | via,
38 | warning,
39 | %%% --- Standard "Response" headers
40 | 'accept-ranges',
41 | age,
42 | etag,
43 | location,
44 | 'proxy-authenticate',
45 | 'retry-after',
46 | server,
47 | vary,
48 | 'www-authenticate',
49 | %%% --- Standard "Entity" headers
50 | allow,
51 | 'content-encoding',
52 | 'content-language',
53 | 'content-length' = "-1",
54 | 'content-location',
55 | 'content-md5',
56 | 'content-range',
57 | 'content-type',
58 | expires,
59 | 'last-modified',
60 | other=[] % list() - Key/Value list with other headers
61 | }).
62 |
63 |
64 | %%% Request headers
65 | -record(http_request_h,{
66 | %%% --- Standard "General" headers
67 | 'cache-control',
68 | connection = "keep-alive",
69 | date,
70 | pragma,
71 | trailer,
72 | 'transfer-encoding',
73 | upgrade,
74 | via,
75 | warning,
76 | %%% --- Standard "Request" headers
77 | accept,
78 | 'accept-charset',
79 | 'accept-encoding',
80 | 'accept-language',
81 | authorization,
82 | expect,
83 | from,
84 | host,
85 | 'if-match',
86 | 'if-modified-since',
87 | 'if-none-match',
88 | 'if-range',
89 | 'if-unmodified-since',
90 | 'max-forwards',
91 | 'proxy-authorization',
92 | range,
93 | referer,
94 | te,
95 | 'user-agent',
96 | %%% --- Standard "Entity" headers
97 | allow,
98 | 'content-encoding',
99 | 'content-language',
100 | 'content-length' = "0",
101 | 'content-location',
102 | 'content-md5',
103 | 'content-range',
104 | 'content-type',
105 | expires,
106 | 'last-modified',
107 | other=[] % list() - Key/Value list with other headers
108 | }).
109 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/src/httpc_internal.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 2005-2010. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %%
20 |
21 | -include("inets_internal.hrl").
22 | -define(SERVICE, httpc).
23 | -define(hcri(Label, Data), ?report_important(Label, ?SERVICE, Data)).
24 | -define(hcrv(Label, Data), ?report_verbose(Label, ?SERVICE, Data)).
25 | -define(hcrd(Label, Data), ?report_debug(Label, ?SERVICE, Data)).
26 | -define(hcrt(Label, Data), ?report_trace(Label, ?SERVICE, Data)).
27 |
28 | -define(HTTP_REQUEST_TIMEOUT, infinity).
29 | -define(HTTP_REQUEST_CTIMEOUT, ?HTTP_REQUEST_TIMEOUT).
30 | -define(HTTP_PIPELINE_TIMEOUT, 0).
31 | -define(HTTP_PIPELINE_LENGTH, 2).
32 | -define(HTTP_MAX_TCP_SESSIONS, 2).
33 | -define(HTTP_MAX_REDIRECTS, 4).
34 | -define(HTTP_KEEP_ALIVE_TIMEOUT, 120000).
35 | -define(HTTP_KEEP_ALIVE_LENGTH, 5).
36 |
37 | %%% HTTP Client per request settings
38 | -record(http_options,
39 | {
40 | %% string() - "HTTP/1.1" | "HTTP/1.0" | "HTTP/0.9"
41 | version,
42 |
43 | %% integer() | infinity - ms before a request times out
44 | timeout = ?HTTP_REQUEST_TIMEOUT,
45 |
46 | %% bool() - true if auto redirect on 30x response
47 | autoredirect = true,
48 |
49 | %% ssl socket options
50 | ssl = [],
51 |
52 | %% {User, Password} = {string(), string()}
53 | proxy_auth,
54 |
55 | %% bool() - true if not strictly std compliant
56 | relaxed = false,
57 |
58 | %% integer() - ms before a connect times out
59 | connect_timeout = ?HTTP_REQUEST_CTIMEOUT
60 | }
61 | ).
62 |
63 | %%% HTTP Client per profile setting.
64 | -record(options,
65 | {
66 | proxy = {undefined, []}, % {{ProxyHost, ProxyPort}, [NoProxy]},
67 | %% 0 means persistent connections are used without pipelining
68 | pipeline_timeout = ?HTTP_PIPELINE_TIMEOUT,
69 | max_pipeline_length = ?HTTP_PIPELINE_LENGTH,
70 | max_keep_alive_length = ?HTTP_KEEP_ALIVE_LENGTH,
71 | keep_alive_timeout = ?HTTP_KEEP_ALIVE_TIMEOUT, % Used when pipeline_timeout = 0
72 | max_sessions = ?HTTP_MAX_TCP_SESSIONS,
73 | cookies = disabled, % enabled | disabled | verify
74 | verbose = false,
75 | ipfamily = inet, % inet | inet6 | inet6fb4
76 | ip = default, % specify local interface
77 | port = default, % specify local port
78 | socket_opts = [] % other socket options
79 | }
80 | ).
81 |
82 | %%% All data associated to a specific HTTP request
83 | -record(request,
84 | {
85 | id, % ref() - Request Id
86 | from, % pid() - Caller
87 | redircount = 0,% Number of redirects made for this request
88 | scheme, % http | https
89 | address, % ({Host,Port}) Destination Host and Port
90 | path, % string() - Path of parsed URL
91 | pquery, % string() - Rest of parsed URL
92 | method, % atom() - HTTP request Method
93 | headers, % #http_request_h{}
94 | content, % {ContentType, Body} - Current HTTP request
95 | settings, % #http_options{} - User defined settings
96 | abs_uri, % string() ex: "http://www.erlang.org"
97 | userinfo, % string() - optinal "@:"
98 | stream, % Boolean() - stream async reply?
99 | headers_as_is, % Boolean() - workaround for servers that does
100 | % not honor the http standard, can also be used for testing purposes.
101 | started, % integer() > 0 - When we started processing the request
102 | timer, % undefined | ref()
103 | socket_opts % undefined | [socket_option()]
104 | }
105 | ).
106 |
107 | -record(tcp_session,
108 | {
109 | id, % {{Host, Port}, HandlerPid}
110 | client_close, % true | false
111 | scheme, % http (HTTP/TCP) | https (HTTP/SSL/TCP)
112 | socket, % Open socket, used by connection
113 | queue_length = 1, % Current length of pipeline or keep alive queue
114 | type % pipeline | keep_alive (wait for response before sending new request)
115 | }).
116 |
117 | -record(http_cookie,
118 | {
119 | domain,
120 | domain_default = false,
121 | name,
122 | value,
123 | comment,
124 | max_age = session,
125 | path,
126 | path_default = false,
127 | secure = false,
128 | version = "0"
129 | }).
130 |
131 |
132 | %% -record(parsed_uri,
133 | %% {
134 | %% scheme, % http | https
135 | %% uinfo, % string()
136 | %% host, % string()
137 | %% port, % integer()
138 | %% path, % string()
139 | %% q % query: string()
140 | %% }).
141 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/src/httpd.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1997-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %%
20 |
21 | -include_lib("kernel/include/file.hrl").
22 |
23 | -ifndef(SERVER_SOFTWARE).
24 | -define(SERVER_SOFTWARE,"inets/develop"). % Define in Makefile!
25 | -endif.
26 | -define(SERVER_PROTOCOL,"HTTP/1.1").
27 | -define(DEFAULT_MODS, [mod_alias, mod_auth, mod_esi, mod_actions, mod_cgi,
28 | mod_dir, mod_get, mod_head, mod_log, mod_disk_log]).
29 | -define(SOCKET_CHUNK_SIZE,8192).
30 | -define(SOCKET_MAX_POLL,25).
31 | -define(FILE_CHUNK_SIZE,64*1024).
32 | -define(GATEWAY_INTERFACE,"CGI/1.1").
33 | -define(NICE(Reason),lists:flatten(atom_to_list(?MODULE)++": "++Reason)).
34 | -define(DEFAULT_CONTEXT,
35 | [{errmsg,"[an error occurred while processing this directive]"},
36 | {timefmt,"%A, %d-%b-%y %T %Z"},
37 | {sizefmt,"abbrev"}]).
38 |
39 |
40 | -ifdef(inets_error).
41 | -define(ERROR(Format, Args), io:format("E(~p:~p:~p) : "++Format++"~n",
42 | [self(),?MODULE,?LINE]++Args)).
43 | -else.
44 | -define(ERROR(F,A),[]).
45 | -endif.
46 |
47 | -ifdef(inets_log).
48 | -define(LOG(Format, Args), io:format("L(~p:~p:~p) : "++Format++"~n",
49 | [self(),?MODULE,?LINE]++Args)).
50 | -else.
51 | -define(LOG(F,A),[]).
52 | -endif.
53 |
54 | -ifdef(inets_debug).
55 | -define(DEBUG(Format, Args), io:format("D(~p:~p:~p) : "++Format++"~n",
56 | [self(),?MODULE,?LINE]++Args)).
57 | -else.
58 | -define(DEBUG(F,A),[]).
59 | -endif.
60 |
61 | -ifdef(inets_cdebug).
62 | -define(CDEBUG(Format, Args), io:format("C(~p:~p:~p) : "++Format++"~n",
63 | [self(),?MODULE,?LINE]++Args)).
64 | -else.
65 | -define(CDEBUG(F,A),[]).
66 | -endif.
67 |
68 |
69 | -record(init_data,{peername,resolve}).
70 | -record(mod,{init_data,
71 | data=[],
72 | socket_type=ip_comm,
73 | socket,
74 | config_db,
75 | method,
76 | absolute_uri=[],
77 | request_uri,
78 | http_version,
79 | request_line,
80 | parsed_header=[],
81 | entity_body,
82 | connection}).
83 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/src/httpd_internal.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %%
20 |
21 | -ifndef(httpd_internal_hrl).
22 | -define(httpd_internal_hrl, true).
23 |
24 | -include("inets_internal.hrl").
25 | -define(SERVICE, httpd).
26 | -define(hdri(Label, Content), ?report_important(Label, ?SERVICE, Content)).
27 | -define(hdrv(Label, Content), ?report_verbose(Label, ?SERVICE, Content)).
28 | -define(hdrd(Label, Content), ?report_debug(Label, ?SERVICE, Content)).
29 | -define(hdrt(Label, Content), ?report_trace(Label, ?SERVICE, Content)).
30 |
31 | -endif. % -ifdef(httpd_internal_hrl).
32 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/src/inets_internal.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 2005-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %%
20 |
21 | -ifndef(inets_internal_hrl).
22 | -define(inets_internal_hrl, true).
23 |
24 | %% Various trace macros
25 |
26 | -define(report(Severity, Label, Service, Content),
27 | inets:report_event(Severity, Label, Service,
28 | [{module, ?MODULE}, {line, ?LINE} | Content])).
29 | -define(report_important(Label, Service, Content),
30 | ?report(20, Label, Service, Content)).
31 | -define(report_verbose(Label, Service, Content),
32 | ?report(40, Label, Service, Content)).
33 | -define(report_debug(Label, Service, Content),
34 | ?report(60, Label, Service, Content)).
35 | -define(report_trace(Label, Service, Content),
36 | ?report(80, Label, Service, Content)).
37 |
38 |
39 | -define(CR, $\r).
40 | -define(LF, $\n).
41 | -define(CRLF, [$\r,$\n]).
42 | -define(SP, $\s).
43 | -define(TAB, $\t).
44 | -define(LEFT_PAREN, $().
45 | -define(RIGHT_PAREN, $)).
46 | -define(WHITE_SPACE, $ ).
47 | -define(DOUBLE_QUOTE, $").
48 |
49 | -endif. % -ifdef(inets_internal_hrl).
50 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/src/mod_auth.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1998-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %%
20 |
21 | -record(httpd_user,
22 | {username,
23 | password,
24 | user_data}).
25 |
26 | -record(httpd_group,
27 | {name,
28 | userlist}).
29 |
30 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/inets-5.3/src/tftp.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 2005-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %%
20 |
21 | %%%-------------------------------------------------------------------
22 | %%% Defines
23 | %%%-------------------------------------------------------------------
24 |
25 | -define(TFTP_DEFAULT_PORT, 69).% Default server port
26 |
27 | -define(TFTP_OPCODE_RRQ, 1). % Read request
28 | -define(TFTP_OPCODE_WRQ, 2). % Write request
29 | -define(TFTP_OPCODE_DATA, 3). % Data
30 | -define(TFTP_OPCODE_ACK, 4). % Acknowledgement
31 | -define(TFTP_OPCODE_ERROR, 5). % Error
32 | -define(TFTP_OPCODE_OACK, 6). % Option acknowledgment
33 |
34 | -define(TFTP_ERROR_UNDEF, 0). % Not defined, see error message (if any)
35 | -define(TFTP_ERROR_ENOENT, 1). % File not found.
36 | -define(TFTP_ERROR_EACCES, 2). % Access violation.
37 | -define(TFTP_ERROR_ENOSPC, 3). % Disk full or allocation exceeded.
38 | -define(TFTP_ERROR_BADOP, 4). % Illegal TFTP operation.
39 | -define(TFTP_ERROR_BADBLK, 5). % Unknown transfer ID.
40 | -define(TFTP_ERROR_EEXIST, 6). % File already exists.
41 | -define(TFTP_ERROR_BADUSER, 7). % No such user.
42 | -define(TFTP_ERROR_BADOPT, 8). % Unrequested or illegal option.
43 |
44 | -record(tftp_msg_req, {access, filename, mode, options, local_filename}).
45 | -record(tftp_msg_data, {block_no, data}).
46 | -record(tftp_msg_ack, {block_no}).
47 | -record(tftp_msg_error, {code, text, details}).
48 | -record(tftp_msg_oack, {options}).
49 |
50 | -record(config, {parent_pid = self(),
51 | udp_socket,
52 | udp_options = [binary, {reuseaddr, true}, {active, once}],
53 | udp_host = "localhost",
54 | udp_port = ?TFTP_DEFAULT_PORT,
55 | port_policy = random,
56 | use_tsize = false,
57 | max_tsize = infinity, % Filesize
58 | max_conn = infinity,
59 | rejected = [],
60 | polite_ack = false,
61 | debug_level = none,
62 | timeout,
63 | user_options = [],
64 | callbacks = [],
65 | logger = tftp_logger,
66 | max_retries = 5}).
67 |
68 | -record(callback, {regexp, internal, module, state, block_no, count}).
69 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/application.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/application.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/application_controller.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/application_controller.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/application_master.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/application_master.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/application_starter.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/application_starter.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/auth.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/auth.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/code.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/code.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/code_server.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/code_server.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/disk_log.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/disk_log.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/disk_log_1.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/disk_log_1.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/disk_log_server.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/disk_log_server.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/disk_log_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/disk_log_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/dist_ac.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/dist_ac.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/dist_util.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/dist_util.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/erl_boot_server.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/erl_boot_server.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/erl_ddll.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/erl_ddll.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/erl_distribution.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/erl_distribution.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/erl_epmd.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/erl_epmd.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/erl_reply.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/erl_reply.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/error_handler.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/error_handler.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/error_logger.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/error_logger.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/erts_debug.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/erts_debug.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/file.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/file.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/file_io_server.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/file_io_server.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/file_server.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/file_server.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/gen_sctp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/gen_sctp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/gen_tcp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/gen_tcp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/gen_udp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/gen_udp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/global.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/global.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/global_group.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/global_group.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/global_search.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/global_search.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/group.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/group.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/heart.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/heart.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/hipe_unified_loader.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/hipe_unified_loader.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet6_sctp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet6_sctp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet6_tcp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet6_tcp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet6_tcp_dist.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet6_tcp_dist.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet6_udp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet6_udp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet_config.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet_config.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet_db.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet_db.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet_dns.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet_dns.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet_gethost_native.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet_gethost_native.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet_hosts.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet_hosts.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet_parse.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet_parse.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet_res.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet_res.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet_sctp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet_sctp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet_tcp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet_tcp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet_tcp_dist.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet_tcp_dist.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/inet_udp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/inet_udp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/kernel.app:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1996-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %% This is an -*- erlang -*- file.
20 | %%
21 | {application, kernel,
22 | [
23 | {description, "ERTS CXC 138 10"},
24 | {vsn, "2.13.5"},
25 | {modules, [application,
26 | application_controller,
27 | application_master,
28 | application_starter,
29 | auth,
30 | code,
31 | packages,
32 | code_server,
33 | dist_util,
34 | erl_boot_server,
35 | erl_distribution,
36 | erl_reply,
37 | error_handler,
38 | error_logger,
39 | file,
40 | file_server,
41 | file_io_server,
42 | global,
43 | global_group,
44 | global_search,
45 | group,
46 | heart,
47 | hipe_unified_loader,
48 | inet6_tcp,
49 | inet6_tcp_dist,
50 | inet6_udp,
51 | inet6_sctp,
52 | inet_config,
53 | inet_hosts,
54 | inet_gethost_native,
55 | inet_tcp_dist,
56 | kernel,
57 | kernel_config,
58 | net,
59 | net_adm,
60 | net_kernel,
61 | os,
62 | ram_file,
63 | rpc,
64 | user,
65 | user_drv,
66 | user_sup,
67 | disk_log,
68 | disk_log_1,
69 | disk_log_server,
70 | disk_log_sup,
71 | dist_ac,
72 | erl_ddll,
73 | erl_epmd,
74 | erts_debug,
75 | gen_tcp,
76 | gen_udp,
77 | gen_sctp,
78 | inet,
79 | inet_db,
80 | inet_dns,
81 | inet_parse,
82 | inet_res,
83 | inet_tcp,
84 | inet_udp,
85 | inet_sctp,
86 | pg2,
87 | seq_trace,
88 | standard_error,
89 | wrap_log_reader]},
90 | {registered, [application_controller,
91 | erl_reply,
92 | auth,
93 | boot_server,
94 | code_server,
95 | disk_log_server,
96 | disk_log_sup,
97 | erl_prim_loader,
98 | error_logger,
99 | file_server_2,
100 | fixtable_server,
101 | global_group,
102 | global_name_server,
103 | heart,
104 | init,
105 | kernel_config,
106 | kernel_sup,
107 | net_kernel,
108 | net_sup,
109 | rex,
110 | user,
111 | os_server,
112 | ddll_server,
113 | erl_epmd,
114 | inet_db,
115 | pg2]},
116 | {applications, []},
117 | {env, [{error_logger, tty}]},
118 | {mod, {kernel, []}}
119 | ]
120 | }.
121 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/kernel.appup:
--------------------------------------------------------------------------------
1 | {"2.13.5",[],[]}.
2 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/kernel.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/kernel.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/kernel_config.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/kernel_config.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/net.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/net.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/net_adm.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/net_adm.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/net_kernel.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/net_kernel.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/os.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/os.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/packages.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/packages.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/pg2.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/pg2.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/ram_file.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/ram_file.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/rpc.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/rpc.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/seq_trace.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/seq_trace.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/standard_error.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/standard_error.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/user.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/user.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/user_drv.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/user_drv.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/user_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/user_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/ebin/wrap_log_reader.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/kernel-2.13.5/ebin/wrap_log_reader.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/src/application_master.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1996-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | -record(appl_data, {name, regs = [], phases, mod, mods = [],
20 | inc_apps, maxP = infinity, maxT = infinity}).
21 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/src/dist.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1999-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 |
20 | %%
21 | %% Distribution capabilities flags (corresponds with dist.h).
22 | %%
23 |
24 | -define(DFLAG_PUBLISHED,1).
25 | -define(DFLAG_ATOM_CACHE,2).
26 | -define(DFLAG_EXTENDED_REFERENCES,4).
27 | -define(DFLAG_DIST_MONITOR,8).
28 | -define(DFLAG_FUN_TAGS,16#10).
29 | -define(DFLAG_DIST_MONITOR_NAME,16#20).
30 | -define(DFLAG_HIDDEN_ATOM_CACHE,16#40).
31 | -define(DFLAG_NEW_FUN_TAGS,16#80).
32 | -define(DFLAG_EXTENDED_PIDS_PORTS,16#100).
33 | -define(DFLAG_EXPORT_PTR_TAG,16#200).
34 | -define(DFLAG_BIT_BINARIES,16#400).
35 | -define(DFLAG_NEW_FLOATS,16#800).
36 | -define(DFLAG_UNICODE_IO,16#1000).
37 | -define(DFLAG_DIST_HDR_ATOM_CACHE,16#2000).
38 | -define(DFLAG_SMALL_ATOM_TAGS, 16#4000).
39 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/src/dist_util.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1999-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %% uncomment this if tracing of handshake etc is wanted
20 | %%-define(dist_trace, true).
21 | %%-define(dist_debug, true).
22 |
23 |
24 | -ifdef(dist_debug).
25 | -define(debug(Term), erlang:display(Term)).
26 | -else.
27 | -define(debug(Term), ok).
28 | -endif.
29 |
30 | -ifdef(dist_trace).
31 | -define(trace(Fmt,Args), io:format("~p ~p:~s",[erlang:now(),node(),lists:flatten(io_lib:format(Fmt, Args))])).
32 | % Use the one below for config-file (early boot) connection tracing
33 | %-define(trace(Fmt,Args), erlang:display([erlang:now(),node(),lists:flatten(io_lib:format(Fmt, Args))])).
34 | -define(trace_factor,8).
35 | -else.
36 | -define(trace(Fmt,Args), ok).
37 | -define(trace_factor,1).
38 | -endif.
39 |
40 | -define(shutdown(Data), dist_util:shutdown(?MODULE, ?LINE, Data)).
41 | -define(shutdown2(Data, Reason), dist_util:shutdown(?MODULE, ?LINE, Data, Reason)).
42 |
43 | %% Handshake state structure
44 | -record(hs_data, {
45 | kernel_pid, %% Pid of net_kernel
46 | other_node, %% Name of peer
47 | this_node, %% my nodename
48 | socket, %% The connection "socket"
49 | timer, %% The setup timer
50 | %% (stream_dist_handshake:start_timer)
51 | this_flags, %% Flags my node should use
52 | allowed, %% Allowed nodes list
53 | other_version, %% The other nodes distribution version
54 | other_flags, %% The other nodes flags.
55 | other_started, %% True if the other node initiated.
56 | f_send, %% Fun that behaves like gen_tcp:send
57 | f_recv, %% Fun that behaves like gen_tcp:recv
58 | f_setopts_pre_nodeup, %% Sets "socket" options before
59 | %% nodeup is delivered to net_kernel
60 | f_setopts_post_nodeup, %% Sets "socket" options after
61 | %% nodeup is delivered
62 | f_getll, %% Get low level port or pid.
63 | f_address, %% The address of the "socket",
64 | %% generated from Socket,Node
65 | %% These two are used in the tick loop,
66 | %% so they are not fun's to avoid holding old code.
67 | mf_tick, %% Takes the socket as parameters and
68 | %% sends a tick, this is no fun, it
69 | %% is a tuple {M,F}.
70 | %% Is should place {tcp_closed, Socket}
71 | %% in the message queue on failure.
72 | mf_getstat, %% Returns
73 | %% {ok, RecvCnt, SendCnt, SendPend} for
74 | %% a given socket. This is a {M,F},
75 | %% returning {error, Reason on failure}
76 | request_type = normal
77 | }).
78 |
79 |
80 | %% The following should be filled in upon enter of...
81 | %% - handshake_we_started:
82 | %% kernel_pid, other_node, this_node, socket, timer,
83 | %% this_flags, other_version, All fun's/mf's.
84 | %% - handshake_other_started:
85 | %% kernel_pid, this_node, socket, timer,
86 | %% this_flags, allowed, All fun's/mf's.
87 |
88 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/src/inet_boot.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1997-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %%
20 | %% Defines used for erlang boot/load protocol
21 | %%
22 |
23 | -define(EBOOT_PORT, 4368). %% same as epmd but for udp !
24 |
25 | -define(EBOOT_REQUEST, "EBOOTQ").
26 | -define(EBOOT_REPLY, "EBOOTR").
27 |
28 | -define(EBOOT_RETRY, 3). % number of retry before sleep
29 | -define(EBOOT_REQUEST_DELAY, 500). % delay between retry
30 | -define(EBOOT_SHORT_RETRY_SLEEP, 10000). % initial sleep time between boot attempt's
31 | -define(EBOOT_UNSUCCESSFUL_TRIES, 10). % retries before longer sleep
32 | -define(EBOOT_LONG_RETRY_SLEEP, 60000). % sleep time after a number of unsuccessful tries
33 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/src/inet_config.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1997-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 |
20 | %% Configuration constants
21 |
22 | -define(DEFAULT_ETC, "/etc").
23 | -define(DEFAULT_SERVICES, "services").
24 | -define(DEFAULT_RPC, "rpc").
25 | -define(DEFAULT_HOSTS, "hosts").
26 | -define(DEFAULT_RESOLV, "resolv.conf").
27 | -define(DEFAULT_PROTOCOLS, "protocols").
28 | -define(DEFAULT_NETMASKS, "netmasks").
29 | -define(DEFAULT_NETWORKS, "networks").
30 |
31 | -define(DEFAULT_UDP_MODULE, inet_udp).
32 | -define(DEFAULT_TCP_MODULE, inet_tcp).
33 | -define(DEFAULT_SCTP_MODULE, inet_sctp).
34 |
35 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/src/inet_res.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1997-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | %%
20 | %% Dns & resolver defintions
21 | %%
22 |
23 | -define(RES_TIMEOUT, 2000). %% milli second between retries
24 | -define(RES_RETRY, 3). %% number of retry
25 | -define(RES_FILE_UPDATE_TM, 5). %% seconds between file_info
26 |
27 | -define(CACHE_LIMIT, 100). %% number of cached dns_rr
28 | -define(CACHE_REFRESH, 60*60*1000). %% refresh interval
29 |
30 | -define(PACKETSZ, 512). %% maximum packet size
31 | -define(MAXDNAME, 256). %% maximum domain name
32 | -define(MAXCDNAME, 255). %% maximum compressed domain name
33 | -define(MAXLABEL, 63). %% maximum length of domain label
34 | %% Number of bytes of fixed size data in query structure
35 | -define(QFIXEDSZ, 4).
36 | %% number of bytes of fixed size data in resource record
37 | -define(RRFIXEDSZ, 10).
38 |
39 | %%
40 | %% Internet nameserver port number
41 | %%
42 | -define(NAMESERVER_PORT, 53).
43 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/kernel-2.13.5/src/net_address.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1997-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 |
20 | %% Generic address format
21 |
22 | -record(net_address,
23 | {
24 | address, %% opaque address
25 | host, %% host name
26 | protocol, %% protocol
27 | family %% address family
28 | }).
29 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/mochiweb/ebin/mochiweb.app:
--------------------------------------------------------------------------------
1 | {application, mochiweb,
2 | [{description, "MochiMedia Web Server"},
3 | {vsn, "7c2bc2"},
4 | {modules, [
5 | mochihex,
6 | mochijson,
7 | mochijson2,
8 | mochinum,
9 | mochiweb,
10 | mochiweb_app,
11 | mochiweb_charref,
12 | mochiweb_cookies,
13 | mochiweb_echo,
14 | mochiweb_headers,
15 | mochiweb_html,
16 | mochiweb_http,
17 | mochiweb_multipart,
18 | mochiweb_request,
19 | mochiweb_response,
20 | mochiweb_skel,
21 | mochiweb_socket_server,
22 | mochiweb_sup,
23 | mochiweb_util,
24 | reloader,
25 | mochifmt,
26 | mochifmt_std,
27 | mochifmt_records
28 | ]},
29 | {registered, []},
30 | {mod, {mochiweb_app, []}},
31 | {env, []},
32 | {applications, [kernel, stdlib]}]}.
33 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/public_key-0.13/ebin/OTP-PUB-KEY.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/public_key-0.13/ebin/OTP-PUB-KEY.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/public_key-0.13/ebin/pubkey_cert.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/public_key-0.13/ebin/pubkey_cert.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/public_key-0.13/ebin/pubkey_cert_records.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/public_key-0.13/ebin/pubkey_cert_records.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/public_key-0.13/ebin/pubkey_pem.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/public_key-0.13/ebin/pubkey_pem.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/public_key-0.13/ebin/pubkey_ssh.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/public_key-0.13/ebin/pubkey_ssh.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/public_key-0.13/ebin/public_key.app:
--------------------------------------------------------------------------------
1 | {application, public_key,
2 | [{description, "Public key infrastructure"},
3 | {vsn, "0.13"},
4 | {modules, [ public_key,
5 | pubkey_pem,
6 | pubkey_ssh,
7 | pubkey_cert,
8 | pubkey_cert_records,
9 | 'OTP-PUB-KEY'
10 | ]},
11 | {applications, [crypto, kernel, stdlib]},
12 | {registered, []},
13 | {env, []}
14 | ]
15 | }.
16 |
17 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/public_key-0.13/ebin/public_key.appup:
--------------------------------------------------------------------------------
1 | %% -*- erlang -*-
2 | {"0.13",
3 | [
4 | {"0.11",
5 | [
6 | {update, public_key, soft, soft_purge, soft_purge, []},
7 | {update, pubkey_pem, soft, soft_purge, soft_purge, []},
8 | {add_module, pubkey_ssh, soft, soft_purge, soft_purge},
9 | {update, pubkey_cert, soft, soft_purge, soft_purge, []},
10 | {update, pubkey_cert_records, soft, soft_purge, soft_purge, []}
11 | ]
12 | },
13 |
14 | {"0.10",
15 | [
16 | {update, public_key, soft, soft_purge, soft_purge, []},
17 | {update, pubkey_pem, soft, soft_purge, soft_purge, []},
18 | {update, pubkey_cert_records, soft, soft_purge, soft_purge, []}
19 | ]
20 | },
21 | {"0.9",
22 | [
23 | {update, public_key, soft, soft_purge, soft_purge, []},
24 | {update, pubkey_cert, soft, soft_purge, soft_purge, []}
25 | ]
26 | },
27 | {"0.8",
28 | [
29 | {update, 'OTP-PUB-KEY', soft, soft_purge, soft_purge, []},
30 | {update, public_key, soft, soft_purge, soft_purge, []},
31 | {update, pubkey_pem, soft, soft_purge, soft_purge, []},
32 | {update, pubkey_cert_records, soft, soft_purge, soft_purge, []},
33 | {update, pubkey_cert, soft, soft_purge, soft_purge, []}
34 | ]
35 | }
36 | ],
37 | [
38 | {"0.11",
39 | [
40 | {update, public_key, soft, soft_purge, soft_purge, []},
41 | {update, pubkey_pem, soft, soft_purge, soft_purge, []},
42 | {delete_module, pubkey_ssh, soft, soft_purge, soft_purge},
43 | {update, pubkey_cert, soft, soft_purge, soft_purge, []},
44 | {update, pubkey_cert_records, soft, soft_purge, soft_purge, []}
45 | ]
46 | },
47 |
48 | {"0.10",
49 | [
50 | {update, public_key, soft, soft_purge, soft_purge, []},
51 | {update, pubkey_pem, soft, soft_purge, soft_purge, []},
52 | {update, pubkey_cert_records, soft, soft_purge, soft_purge, []}
53 | ]
54 | },
55 | {"0.9",
56 | [
57 | {update, public_key, soft, soft_purge, soft_purge, []},
58 | {update, pubkey_cert, soft, soft_purge, soft_purge, []}
59 | ]
60 | },
61 | {"0.8",
62 | [
63 | {update, 'OTP-PUB-KEY', soft, soft_purge, soft_purge, []},
64 | {update, public_key, soft, soft_purge, soft_purge, []},
65 | {update, pubkey_pem, soft, soft_purge, soft_purge, []},
66 | {update, pubkey_cert_records, soft, soft_purge, soft_purge, []},
67 | {update, pubkey_cert, soft, soft_purge, soft_purge, []}
68 | ]
69 | }
70 | ]}.
71 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/public_key-0.13/ebin/public_key.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/public_key-0.13/ebin/public_key.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/alarm_handler.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/alarm_handler.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/erlsrv.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/erlsrv.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/format_lib_supp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/format_lib_supp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/misc_supp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/misc_supp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/overload.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/overload.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/rb.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/rb.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/rb_format_supp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/rb_format_supp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/release_handler.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/release_handler.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/release_handler_1.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/release_handler_1.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/sasl.app:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1996-2010. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 | {application, sasl,
20 | [{description, "SASL CXC 138 11"},
21 | {vsn, "2.1.9"},
22 | {modules, [sasl,
23 | alarm_handler,
24 | format_lib_supp,
25 | misc_supp,
26 | overload,
27 | rb,
28 | rb_format_supp,
29 | release_handler,
30 | release_handler_1,
31 | erlsrv,
32 | sasl_report,
33 | sasl_report_tty_h,
34 | sasl_report_file_h,
35 | si,
36 | si_sasl_supp,
37 | systools,
38 | systools_make,
39 | systools_rc,
40 | systools_relup,
41 | systools_lib
42 | ]},
43 | {registered, [sasl_sup, alarm_handler, overload, release_handler]},
44 | {applications, [kernel, stdlib]},
45 | {env, [{sasl_error_logger, tty},
46 | {errlog_type, all}]},
47 | {mod, {sasl, []}}]}.
48 |
49 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/sasl.appup:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1999-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 |
20 | {"2.1.9",
21 | [{"2.1.4", [{load_module, release_handler},
22 | {load_module, systools_relup}]}],
23 | [{"2.1.4", [{load_module, release_handler},
24 | {load_module, systools_relup}]}]
25 | }.
26 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/sasl.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/sasl.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/sasl_report.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/sasl_report.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/sasl_report_file_h.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/sasl_report_file_h.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/sasl_report_tty_h.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/sasl_report_tty_h.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/si.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/si.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/si_sasl_supp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/si_sasl_supp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/systools.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/systools.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/systools_lib.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/systools_lib.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/systools_make.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/systools_make.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/systools_rc.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/systools_rc.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/ebin/systools_relup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/sasl-2.1.9/ebin/systools_relup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/sasl-2.1.9/src/systools.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 1996-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 |
20 | %%
21 | %% systools.hrl
22 | %%
23 |
24 | %% this is the structure of a release
25 |
26 | -record(release,
27 | {
28 | name, %% Name of the release, string().
29 | vsn, %% Version of the release, string().
30 | erts_vsn, %% Version of erts, string().
31 | applications, %% [{Name,Vsn,Type}] list of applications incorporated
32 | %% in the release, Name = Type = atom(),
33 | %% Vsn = string().
34 | incl_apps %% [{Name,[App]}] list of include specifications,
35 | %% (appl Name includes appls [App]),
36 | %% Name = App = atom().
37 | }).
38 |
39 | -record(application,
40 | {name, %% Name of the application, atom().
41 | type = permanent, %% Application start type, atom().
42 | vsn = "", %% Version of the application, string().
43 | id = "", %% Id of the application, string().
44 | description = "", %% Description of application, string().
45 | modules = [], %% [Module | {Module,Vsn}] of modules
46 | %% incorporated in the application,
47 | %% Module = atom(), Vsn = string().
48 | uses = [], %% [Application] list of applications required
49 | %% by the application, Application = atom().
50 | includes = [], %% [Application] list of applications included
51 | %% by the application, Application = atom().
52 | regs = [], %% [RegNames] a list of registered process
53 | %% names used by the application, RegNames =
54 | %% atom().
55 | env = [], %% [{Key,Value}] environment variable of
56 | %% application, Key = Value = term().
57 | maxT = infinity, %% Max time an application may exist,
58 | %% integer() | infinity.
59 | maxP = infinity, %% Max number of processes in an application,
60 | %% integer() | infinity.
61 | mod = [], %% [] | {Mod, StartArgs}, Mod= atom(),
62 | %% StartArgs = list().
63 | start_phases = [], %% [] | {Phase, PhaseArgs}, Phase = atom(),
64 | %% PhaseArgs = list().
65 | dir = "" %% The directory where the .app file was
66 | %% found (internal use).
67 | }).
68 |
69 |
70 |
71 |
72 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/snappy/ebin/snappy.app:
--------------------------------------------------------------------------------
1 | {application, snappy,
2 | [
3 | {description, "snappy compressor/decompressor Erlang NIF wrapper"},
4 | {vsn, "1.0.3"},
5 | {registered, []},
6 | {applications, [
7 | kernel,
8 | stdlib
9 | ]},
10 | {env, []},
11 | {modules, [snappy]}
12 | ]}.
13 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/inet_ssl_dist.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/inet_ssl_dist.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl.app:
--------------------------------------------------------------------------------
1 | {application, ssl,
2 | [{description, "Erlang/OTP SSL application"},
3 | {vsn, "4.1.6"},
4 | {modules, [ssl,
5 | ssl_app,
6 | ssl_sup,
7 | ssl_server,
8 | ssl_broker,
9 | ssl_broker_sup,
10 | ssl_prim,
11 | inet_ssl_dist,
12 | ssl_tls1,
13 | ssl_ssl3,
14 | ssl_ssl2,
15 | ssl_session,
16 | ssl_session_cache_api,
17 | ssl_session_cache,
18 | ssl_record,
19 | ssl_manager,
20 | ssl_handshake,
21 | ssl_debug,
22 | ssl_connection_sup,
23 | ssl_connection,
24 | ssl_cipher,
25 | ssl_certificate_db,
26 | ssl_certificate,
27 | ssl_alert
28 | ]},
29 | {registered, [ssl_sup, ssl_server, ssl_broker_sup]},
30 | {applications, [crypto, public_key, kernel, stdlib]},
31 | {env, []},
32 | {mod, {ssl_app, []}}]}.
33 |
34 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl.appup:
--------------------------------------------------------------------------------
1 | %% -*- erlang -*-
2 | {"4.1.6",
3 | [
4 | {"4.1.5", [{restart_application, ssl}]},
5 | {"4.1.4", [{restart_application, ssl}]},
6 | {"4.1.3", [{restart_application, ssl}]},
7 | {"4.1.2", [{restart_application, ssl}]},
8 | {"4.1.1", [{restart_application, ssl}]},
9 | {"4.1", [{restart_application, ssl}]},
10 | {"4.0.1", [{restart_application, ssl}]}
11 | ],
12 | [
13 | {"4.1.5", [{restart_application, ssl}]},
14 | {"4.1.4", [{restart_application, ssl}]},
15 | {"4.1.3", [{restart_application, ssl}]},
16 | {"4.1.2", [{restart_application, ssl}]},
17 | {"4.1.1", [{restart_application, ssl}]},
18 | {"4.1", [{restart_application, ssl}]},
19 | {"4.0.1", [{restart_application, ssl}]}
20 | ]}.
21 |
22 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_alert.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_alert.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_app.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_app.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_broker.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_broker.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_broker_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_broker_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_certificate.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_certificate.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_certificate_db.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_certificate_db.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_cipher.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_cipher.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_connection.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_connection.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_connection_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_connection_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_debug.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_debug.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_handshake.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_handshake.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_manager.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_manager.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_prim.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_prim.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_record.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_record.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_server.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_server.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_session.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_session.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_session_cache.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_session_cache.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_session_cache_api.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_session_cache_api.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_ssl2.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_ssl2.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_ssl3.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_ssl3.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_tls1.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/ssl-4.1.6/ebin/ssl_tls1.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/array.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/array.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/base64.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/base64.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/beam_lib.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/beam_lib.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/c.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/c.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/calendar.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/calendar.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/dets.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/dets.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/dets_server.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/dets_server.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/dets_sup.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/dets_sup.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/dets_utils.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/dets_utils.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/dets_v8.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/dets_v8.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/dets_v9.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/dets_v9.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/dict.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/dict.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/digraph.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/digraph.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/digraph_utils.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/digraph_utils.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/edlin.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/edlin.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/edlin_expand.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/edlin_expand.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/epp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/epp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_bits.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_bits.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_compile.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_compile.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_eval.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_eval.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_expand_records.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_expand_records.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_internal.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_internal.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_lint.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_lint.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_parse.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_parse.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_posix_msg.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_posix_msg.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_pp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_pp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_scan.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_scan.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_tar.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/erl_tar.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/error_logger_file_h.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/error_logger_file_h.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/error_logger_tty_h.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/error_logger_tty_h.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/escript.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/escript.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/ets.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/ets.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/eval_bits.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/eval_bits.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/file_sorter.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/file_sorter.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/filelib.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/filelib.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/filename.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/filename.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/gb_sets.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/gb_sets.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/gb_trees.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/gb_trees.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/gen.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/gen.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/gen_event.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/gen_event.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/gen_fsm.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/gen_fsm.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/gen_server.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/gen_server.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/io.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/io.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/io_lib.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/io_lib.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/io_lib_format.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/io_lib_format.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/io_lib_fread.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/io_lib_fread.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/io_lib_pretty.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/io_lib_pretty.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/lib.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/lib.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/lists.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/lists.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/log_mf_h.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/log_mf_h.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/math.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/math.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/ms_transform.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/ms_transform.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/orddict.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/orddict.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/ordsets.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/ordsets.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/otp_internal.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/otp_internal.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/pg.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/pg.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/pool.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/pool.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/proc_lib.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/proc_lib.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/proplists.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/proplists.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/qlc.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/qlc.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/qlc_pt.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/qlc_pt.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/queue.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/queue.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/random.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/random.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/re.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/re.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/regexp.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/regexp.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/sets.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/sets.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/shell.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/shell.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/shell_default.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/shell_default.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/slave.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/slave.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/sofs.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/sofs.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/stdlib.app:
--------------------------------------------------------------------------------
1 | %% This is an -*- erlang -*- file.
2 | %%
3 | %% %CopyrightBegin%
4 | %%
5 | %% Copyright Ericsson AB 1996-2009. All Rights Reserved.
6 | %%
7 | %% The contents of this file are subject to the Erlang Public License,
8 | %% Version 1.1, (the "License"); you may not use this file except in
9 | %% compliance with the License. You should have received a copy of the
10 | %% Erlang Public License along with this software. If not, it can be
11 | %% retrieved online at http://www.erlang.org/.
12 | %%
13 | %% Software distributed under the License is distributed on an "AS IS"
14 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
15 | %% the License for the specific language governing rights and limitations
16 | %% under the License.
17 | %%
18 | %% %CopyrightEnd%
19 | %%
20 | {application, stdlib,
21 | [{description, "ERTS CXC 138 10"},
22 | {vsn, "1.16.5"},
23 | {modules, [array,
24 | base64,
25 | beam_lib,
26 | c,
27 | calendar,
28 | dets,
29 | dets_server,
30 | dets_sup,
31 | dets_utils,
32 | dets_v8,
33 | dets_v9,
34 | dict,
35 | digraph,
36 | digraph_utils,
37 | edlin,
38 | edlin_expand,
39 | epp,
40 | eval_bits,
41 | erl_bits,
42 | erl_compile,
43 | erl_eval,
44 | erl_expand_records,
45 | erl_internal,
46 | erl_lint,
47 | erl_parse,
48 | erl_posix_msg,
49 | erl_pp,
50 | erl_scan,
51 | erl_tar,
52 | error_logger_file_h,
53 | error_logger_tty_h,
54 | escript,
55 | ets,
56 | file_sorter,
57 | filelib,
58 | filename,
59 | gb_trees,
60 | gb_sets,
61 | gen,
62 | gen_event,
63 | gen_fsm,
64 | gen_server,
65 | io,
66 | io_lib,
67 | io_lib_format,
68 | io_lib_fread,
69 | io_lib_pretty,
70 | lib,
71 | lists,
72 | log_mf_h,
73 | math,
74 | ms_transform,
75 | orddict,
76 | ordsets,
77 | otp_internal,
78 | pg,
79 | pool,
80 | proc_lib,
81 | proplists,
82 | qlc,
83 | qlc_pt,
84 | queue,
85 | random,
86 | re,
87 | regexp,
88 | sets,
89 | shell,
90 | shell_default,
91 | slave,
92 | sofs,
93 | string,
94 | supervisor,
95 | supervisor_bridge,
96 | sys,
97 | timer,
98 | unicode,
99 | win32reg,
100 | zip]},
101 | {registered,[timer_server,rsh_starter,take_over_monitor,pool_master,
102 | dets]},
103 | {applications, [kernel]},
104 | {env, []}]}.
105 |
106 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/stdlib.appup:
--------------------------------------------------------------------------------
1 | {"1.16.5",[],[]}.
2 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/string.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/string.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/supervisor.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/supervisor.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/supervisor_bridge.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/supervisor_bridge.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/sys.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/sys.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/timer.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/timer.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/unicode.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/unicode.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/win32reg.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/win32reg.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/ebin/zip.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/stdlib-1.16.5/ebin/zip.beam
--------------------------------------------------------------------------------
/Framework/erlang/lib/stdlib-1.16.5/src/dets.hrl:
--------------------------------------------------------------------------------
1 | %%
2 | %% %CopyrightBegin%
3 | %%
4 | %% Copyright Ericsson AB 2001-2009. All Rights Reserved.
5 | %%
6 | %% The contents of this file are subject to the Erlang Public License,
7 | %% Version 1.1, (the "License"); you may not use this file except in
8 | %% compliance with the License. You should have received a copy of the
9 | %% Erlang Public License along with this software. If not, it can be
10 | %% retrieved online at http://www.erlang.org/.
11 | %%
12 | %% Software distributed under the License is distributed on an "AS IS"
13 | %% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
14 | %% the License for the specific language governing rights and limitations
15 | %% under the License.
16 | %%
17 | %% %CopyrightEnd%
18 | %%
19 |
20 | -define(DEFAULT_MIN_NO_SLOTS, 256).
21 | -define(DEFAULT_MAX_NO_SLOTS, 2*1024*1024).
22 | -define(DEFAULT_AUTOSAVE, 3). % minutes
23 | -define(DEFAULT_CACHE, {3000, 14000}). % {delay,size} in {milliseconds,bytes}
24 |
25 | %% Type.
26 | -define(SET, 1).
27 | -define(BAG, 2).
28 | -define(DUPLICATE_BAG, 3).
29 |
30 | -define(MAGIC, 16#0abcdef). % dets cookie, won't ever change.
31 | %% Status values.
32 | -define(FREE, 16#3abcdef).
33 | -define(ACTIVE, 16#12345678).
34 |
35 | -define(FILE_FORMAT_VERSION_POS, 16).
36 |
37 | -define(CHUNK_SIZE, 8192).
38 |
39 | -define(SERVER_NAME, dets).
40 |
41 | -define(POW(X), (1 bsl (X))).
42 |
43 | %% REM2(A,B) = A rem B, if B is a power of 2.
44 | -define(REM2(A, B), ((A) band ((B)-1))).
45 |
46 | -define(DETS_CALL(Pid, Req), {'$dets_call', Pid, Req}).
47 |
48 | %% Record holding the file header and more.
49 | -record(head, {
50 | m, % size
51 | m2, % m * 2
52 | next, % next position for growth (segm mgmt only)
53 | fptr, % the file descriptor
54 | no_objects, % number of objects in table,
55 | no_keys, % number of keys (version 9 only)
56 | maxobjsize, % 2-log of the size of the biggest object
57 | % collection (version 9 only)
58 | n, % split indicator
59 | type, % set | bag | duplicate_bag
60 | keypos, % default is 1 as for ets
61 | freelists, % tuple of free lists of buddies
62 | % if fixed =/= false, then a pair of freelists
63 | freelists_p, % cached FreelistsPointer
64 | no_collections, % [{LogSize,NoCollections}] | undefined; number of
65 | % object collections per size (version 9(b))
66 | auto_save, % Integer | infinity
67 | update_mode, % saved | dirty | new_dirty | {error, Reason}
68 | fixed = false, % false | {now_time(), [{pid(),Counter}]}
69 | % time of first fix, and number of fixes per process
70 | hash_bif, % hash bif used for this file (phash2, phash, hash)
71 | has_md5, % whether the header has an MD5 sum (version 9(c))
72 | min_no_slots, % minimum number of slots (default or integer)
73 | max_no_slots, % maximum number of slots (default or integer)
74 | cache, % cache(). Write cache.
75 |
76 | filename, % name of the file being used
77 | access = read_write, % read | read_write
78 | ram_file = false, % true | false
79 | name, % the name of the table
80 |
81 | parent, % The supervisor of Dets processes.
82 | server, % The creator of Dets processes.
83 |
84 | %% Depending on the file format:
85 | version,
86 | mod,
87 | bump,
88 | base
89 |
90 | }).
91 |
92 | %% Info extracted from the file header.
93 | -record(fileheader, {
94 | freelist,
95 | cookie,
96 | closed_properly,
97 | type,
98 | version,
99 | m,
100 | next,
101 | keypos,
102 | no_objects,
103 | no_keys,
104 | min_no_slots,
105 | max_no_slots,
106 | no_colls,
107 | hash_method,
108 | read_md5,
109 | has_md5,
110 | md5,
111 | trailer,
112 | eof,
113 | n,
114 | mod
115 | }).
116 |
117 | %% Write Cache.
118 | -record(cache, {
119 | cache, % [{Key,{Seq,Item}}], write cache, last item first
120 | csize, % current size of the cached items
121 | inserts, % upper limit on number of inserted keys
122 | wrtime, % last write or update time
123 | tsize, % threshold size of cache, in bytes
124 | delay % max time items are kept in RAM only, in milliseconds
125 | }).
126 |
127 |
--------------------------------------------------------------------------------
/Framework/erlang/lib/xmerl-1.2.4/ebin/xmerl_ucs.beam:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Framework/erlang/lib/xmerl-1.2.4/ebin/xmerl_ucs.beam
--------------------------------------------------------------------------------
/Getting-Started.pdf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/couchbase/iOS-Couchbase/bec206b479cda9920e2a2be303c06b3268c745d2/Getting-Started.pdf
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # STOP!
2 |
3 | ## Of Historical Interest Only
4 |
5 | This is the old (2011) Couchbase Mobile, an attempt to port Apache CouchDB to iOS. **We do not recommend that anyone use this for new development**; it's been superseded by [TouchDB](http://touchdb.org) which is much smaller and faster, and is being actively developed.
--------------------------------------------------------------------------------
/README_old.md:
--------------------------------------------------------------------------------
1 | ## Mobile Couchbase for iOS
2 |
3 | Apache CouchDB on iOS provides a simple way to sync your application data across devices and provide cloud backup of user data. Unlike other cloud solutions, the data is hosted on the device by Couchbase Mobile, so even when the network is down or slow (airplane, subway, backyard) the application is responsive to users.
4 |
5 | What this means for you:
6 |
7 | * You can embed the rock solid distributed database, Mobile Couchbase, on your iOS device.
8 | * Your iOS apps can use Apache CouchDB's well-proven synchronization technology.
9 | * If you <3 CouchApps, you can deploy them as iOS apps.
10 |
11 | ### Join us
12 |
13 | There is a [Google Group here for Mobile Couchbase][2]. Let's talk about how to optimize the Erlang build, what the best Cocoa APIs are for CouchDB, how to take advantage of replication on mobile devices. It'll be fun.
14 |
15 | ## Build Or Download?
16 |
17 | You have a choice: build the Couchbase framework from source, or [download a pre-compiled version][1]. **If you just want to _use_ Couchbase Mobile in your apps, you will probably want the pre-compiled version.** It will save you the trouble of having to check out this repository, acquire the prerequisites, configure and build. Download it [here][1], then skip to the section "Using The Framework In Your Xcode Projects".
18 |
19 | But if you want to contribute to Couchbase Mobile itself, and don't mind getting your hands dirty with Erlang, SpiderMonkey, OpenSSL, fat static frameworks, armv6 vs. armv7 ... then read on.
20 |
21 | ## Building The Framework
22 |
23 | The following instructions can be used to build Mobile Couchbase for devices and simulators, using Xcode 4. (It is possible the projects might still work with Xcode 3, but we're not testing or supporting this anymore. It's difficult enough to get all the moving parts to mesh together in one version of Xcode at a time!)
24 |
25 | These instructions assume you are experienced with Xcode and iPhone development. If you have questions or get stuck, ask on the [Google group][2].
26 |
27 | ### Install Erlang
28 |
29 | You will need to have the Erlang compiler installed on your Mac. The easiest way to do this is via the Homebrew package manager. (MacPorts also has Erlang, but it currently doesn't work correctly on Mac OS X 10.7.)
30 |
31 | 1. If you haven't already, [install homebrew][3].
32 | 2. Enter `sudo brew install erlang` at a shell.
33 |
34 | This may take a while to build.
35 |
36 | ### Get the main repository
37 |
38 | git clone git://github.com/couchbaselabs/iOS-Couchbase.git
39 |
40 | ### Get the submodules
41 |
42 | cd iOS-Couchbase/
43 | git submodule init
44 | git submodule update
45 |
46 | ### Open the Xcode workspace
47 |
48 | open Couchbase.xcworkspace
49 |
50 | ### Build the framework
51 |
52 | * Select "CouchBase.framework > iOS Device" from the scheme popup in the toolbar.
53 | * Select "Product > Build For > Build For Archiving" -- this will build an optimized version.
54 |
55 | The framework will be created at
56 |
57 | DerivedData/Couchbase/Build/Products/Release-universal/Couchbase.framework
58 |
59 | ### Sanity Check: Run The Empty App
60 |
61 | * First build the framework if you haven't already (the app target's dependencies won't correctly build the framework)
62 | * Select "Empty App" from the scheme popup in the toolbar (choosing the appropriate destination, either device or simulator)
63 | * Click the Run button
64 |
65 | The empty app, as the name implies, doesn't actually do anything. It's just an integration test to make sure CouchDB can initialize and run. If everything goes correctly, the last line logged to the Xcode console should end with "Everything works!". Otherwise the app should log an error message and exit.
66 |
67 | ## Using The Framework In Your Xcode Projects
68 |
69 | 1. Open your Xcode project.
70 | 2. Drag the Couchbase.framework you built previously into the “Frameworks” section of the file list in your project window.
71 | 3. Link your target against the Security framework if it doesn't already. Go to the target's Build Phases and open "Link Binary With Libraries". If "Security.framework" isn't in the list, click the "+" button, and add it.
72 | 4. Similarly, if your project doesn't already contain any C++ code, you'll need to add the C++ library ("libstdc++.dylib") using the same steps as above.
73 | 5. Go to the target's Build Phases and add a new Run Script phase.
74 | 6. Paste the following into the script content of the new phase. (NOTE: If you put the Couchbase framework elsewhere, update the path in the 2nd argument to ‘rsync’ accordingly.)
75 |
76 | _Important: The `rsync` command below is a single long line. Do not put a newline in the middle!_
77 |
78 | # The 'CouchbaseResources' subfolder of the framework contains Erlang code
79 | # and other resources needed at runtime. Copy it into the app bundle:
80 | rsync -a "${SRCROOT}/Frameworks/Couchbase.framework/CouchbaseResources" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
81 |
82 | That’s it for the project setup. In your application code, you’ll need to start the CouchbaseMobile object at launch time. (See CouchbaseMobile.h, and see EmptyAppDelegate.m for an example of how to call it.)
83 |
84 |
85 | ## License
86 |
87 | Portions under Apache, Erlang, and other licenses.
88 |
89 | The overall package is released under the Apache license, 2.0.
90 |
91 | Copyright 2011, Couchbase, Inc.
92 |
93 | [1]: https://github.com/downloads/couchbaselabs/iOS-Couchbase/iOS-Couchbase.zip
94 | [2]: https://groups.google.com/group/mobile-couchbase
95 | [3]: https://github.com/mxcl/homebrew
96 |
--------------------------------------------------------------------------------
/THANKS.txt:
--------------------------------------------------------------------------------
1 | Mobile Couchbase would not be possible without the help of all the people who have contributed to the various open source projects that it depends on.
2 |
3 | See the NOTICE file for a list of packaged open source libraries.
4 |
5 | Mobile Couchbase is young, so we've only had a few contributors so far. Here's a list of them.
6 |
7 |
8 | Jan Lehnardt
9 | Aaron Miller
10 | Dale Harvey
11 | Jonathan Wight
12 | Alexis Hildebrandt
13 | Chris Anderson
14 | Robert McNally
15 | Marty Schoch
16 | Mathieu Ravaux
17 |
--------------------------------------------------------------------------------