Searched refs:host (Results 1 - 25 of 1627) sorted by path

1234567891011>>

/macosx-10.10/AppleUSBIrDA-145.2.4/DumpLog/
H A Ddumplog.cpp333 struct hostent *host; local
335 host = gethostbyname(argv[1]);
336 if (host) {
337 peeraddr.sin_family = host->h_addrtype;
338 bcopy(host->h_addr, &peeraddr.sin_addr, host->h_length);
339 strcpy(hostname, host->h_name);
344 printf("%s: unknown host '%s'\n", argv[0], argv[1]);
/macosx-10.10/BerkeleyDB-21/db/build_brew/
H A Ddb.h928 char *host; member in struct:__db_repmgr_site
/macosx-10.10/BerkeleyDB-21/db/build_s60/
H A Ddb.h917 char *host; member in struct:__db_repmgr_site
/macosx-10.10/BerkeleyDB-21/db/build_vxworks/
H A Ddb.h926 char *host; member in struct:__db_repmgr_site
H A Ddb_cxx.h624 virtual int repmgr_add_remote_site(const char * host, u_int16_t port,
628 virtual int repmgr_set_local_site(const char * host, u_int16_t port,
/macosx-10.10/BerkeleyDB-21/db/build_wince/
H A Ddb.h965 char *host; member in struct:__db_repmgr_site
/macosx-10.10/BerkeleyDB-21/db/build_windows/
H A Ddb.h965 char *host; member in struct:__db_repmgr_site
H A Ddb_cxx.h624 virtual int repmgr_add_remote_site(const char * host, u_int16_t port,
628 virtual int repmgr_set_local_site(const char * host, u_int16_t port,
/macosx-10.10/BerkeleyDB-21/db/cxx/
H A Dcxx_env.cpp872 (void *cl, char *host, long tsec, long ssec, u_int32_t flags),
873 (dbenv, cl, host, tsec, ssec, flags))
1105 DBENV_METHOD(repmgr_add_remote_site, (const char* host, u_int16_t port,
1106 int * eidp, u_int32_t flags), (dbenv, host, port, eidp, flags))
1109 DBENV_METHOD(repmgr_set_local_site, (const char* host, u_int16_t port,
1110 u_int32_t flags), (dbenv, host, port, flags))
/macosx-10.10/BerkeleyDB-21/db/dbinc/
H A Ddb.in938 char *host;
H A Ddb_cxx.in623 virtual int repmgr_add_remote_site(const char * host, u_int16_t port,
627 virtual int repmgr_set_local_site(const char * host, u_int16_t port,
H A Drepmgr.h75 * Historically, the maximum host name was 256.
81 /* A buffer big enough for the string "site host.domain.com:65535". */
313 char *host; /* Separately allocated copy of string. */ member in struct:__anon315
314 u_int16_t port; /* Stored in plain old host-byte-order. */
350 * "rec" part contains the variable-length host name (including terminating NUL
/macosx-10.10/BerkeleyDB-21/db/dist/
H A Dconfigure710 # Name of the host.
814 host
1110 -host | --host | --hos | --ho)
1112 -host=* | --host=* | --hos=* | --ho=*)
1330 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1332 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1360 # There might be people who depend on the old broken behavior: `$host'
1361 # used to hold the argument of --host et
[all...]
H A Dltmain.sh340 case $host in
485 $echo "host: $host"
1068 case $host in
1505 case $with_gcc/$host in
1536 case $host in
1554 case $host in
1582 case $host in
1653 case $host in
1657 $echo "$modename: warning: \`-no-install' is ignored for $host"
[all...]
/macosx-10.10/BerkeleyDB-21/db/env/
H A Denv_method.c1311 __env_set_rpc_server(dbenv, cl, host, tsec, ssec, flags)
1314 const char *host;
1322 COMPQUIET(host, NULL);
/macosx-10.10/BerkeleyDB-21/db/examples_c/
H A Dex_dbclient.c52 ex_dbclient(host)
53 const char *host;
65 if ((ret = ex_dbclient_run(home, stderr, host, progname)) != 0)
72 ex_dbclient_run(home, errfp, host, progname)
73 const char *home, *host, *progname;
91 * Set the server host we are talking to.
93 if ((ret = dbenv->set_rpc_server(dbenv, NULL, host, 10000,
/macosx-10.10/BerkeleyDB-21/db/examples_c/ex_rep/base/
H A Drep_base.c89 self.host = optarg;
90 self.host = strtok(self.host, ":");
92 fprintf(stderr, "Bad host specification.\n");
102 site.host = optarg;
103 site.host = strtok(site.host, ":");
105 fprintf(stderr, "Bad host specification.\n");
184 * we attempt to connect to every host we know about.
H A Drep_base.h17 char *host; /* Host name. */ member in struct:__anon333
H A Drep_msg.c144 self.host = (char *)rec.data;
145 self.host = strtok(self.host, ":");
147 dbenv->errx(dbenv, "Bad host specification");
402 site->host, site->port, is_open, &eid)) < 0)
H A Drep_net.c188 * Return host and port information for a particular machine id.
372 int host, ret; local
386 host = ntohl(si.sin_addr.s_addr);
397 ret = machtab_add(machtab, ns, host, port, eidp);
403 printf("Connected to host %x port %d, eid = %d\n", host, port, *eidp);
434 fprintf(stderr, "%s: host not found: %s\n", progname,
/macosx-10.10/BerkeleyDB-21/db/examples_c/ex_rep/mgr/
H A Drep_mgr.c41 char ch, *host, *portstr; local
74 host = strtok(optarg, ":");
76 fprintf(stderr, "Bad host specification.\n");
81 host, port, 0)) != 0) {
98 host = strtok(optarg, ":");
100 fprintf(stderr, "Bad host specification.\n");
104 if ((ret = dbenv->repmgr_add_remote_site(dbenv, host,
107 "Could not add site %s:%d", host,
/macosx-10.10/BerkeleyDB-21/db/examples_cxx/excxx_repquote/
H A DRepConfigInfo.cpp38 void RepConfigInfo::addOtherHost(char* host, int port, bool peer) argument
42 newinfo->host = host;
H A DRepConfigInfo.h10 // Chainable struct used to store host information.
12 char* host; member in struct:RepHostInfoObj
23 void addOtherHost(char* host, int port, bool peer);
H A DRepQuoteExample.cpp15 * 1) what host/port we wish to listen on for connections,
21 * -m host:port (required; m stands for me)
22 * -o host:port (optional; o stands for other; any number of these may be
234 cur_env.repmgr_set_local_site(app_config->this_host.host,
239 cur_env.repmgr_add_remote_site(cur->host, cur->port,
426 << "[-h home][-o host:port][-m host:port][-f host:port]"
429 cerr << "\t -m host:port (required; m stands for me)" << endl
430 << "\t -o host
[all...]
/macosx-10.10/BerkeleyDB-21/db/examples_java/src/db/repquote/
H A DRepConfig.java29 public ReplicationHostAddress thisHost; // The host address to listen to.
56 public void setThisHost(String host, int port) argument
60 thisHost.host = host;
66 System.err.println("Warning: no host specified, returning default.");
74 public void addOtherHost(String host, int port, boolean peer) argument
77 new ReplicationHostAddress(host, port);

Completed in 468 milliseconds

1234567891011>>