/ast/src/lib/libcs/ |
H A D | SERVICE.mk | 2 * -lcs service support 4 * @(#)service (AT&T Research) 1997-11-11 6 * service [ type [ mode ] [ dir ] ] :SERVICE: prerequisites 18 local opt service type mode dir 20 service = $(<:O=1) macro 33 $(dir)/$(service) :INSTALL: preserve=1 $(service)$(SERVICESUFFIX) 36 $$(SERVICEDIR)/$(dir)/$(service)/$(service)$(SERVICESUFFIX) :INSTALL: preserve=1 $(mode) $(service) [all...] |
H A D | csclient.c | 55 * if fd<0 then establish client connection to service 61 csclient(Cs_t* cs, int fd, const char* service, const char* prompt, char** argv, unsigned int flags) argument 74 if (fd < 0 && (fd = csopen(cs, service, CS_OPEN_TEST)) < 0) 77 error(3, "%s: server not running", service); 79 error(ERROR_SYSTEM|3, "%s: cannot open connect stream", service); 198 _cs_client(int fd, const char* service, const char* prompt, char** argv, unsigned int flags) argument 200 return csclient(&cs, fd, service, prompt, argv, flags);
|
H A D | css.h | 103 char* service; /* service name */ member in struct:Css_s 104 char* path; /* service path */ 105 int fd; /* service fd */ 107 int perm; /* service permissions */ 108 char mount[PATH_MAX];/* service mount path */
|
H A D | csopen.c | 27 * /dev/<type>/<host>/<service>[/<qualifier>][/<perm>][/#option][/#/path] 31 * service: {.../lib/cs/<type>/<service>/server,.../bin/<service>} 32 * qualifier: optional service qualifier 46 * create the state->mount <type>/<host>/<service>/<perm> subdirs 149 * initiate service named by path on state->host w/state->flags 150 * service is modified in place 155 initiate(register Cs_t* state, char* user, char* path, char* service, char* name) argument 167 s = service [all...] |
/ast/src/cmd/jcl/ |
H A D | JCL.mk | 28 :COSHELL: service=event db=$(JCLEVENTS) coshell $(JCLGROUP:+group=$(JCLGROUP)) macro
|
/ast/src/cmd/3d/ |
H A D | license.c | 38 char* service; local 46 service = "/dev/fdp/local/nam/user"; 49 if ((fd = cslocal(&cs, service)) < 0) 51 error(ERROR_SYSTEM|2, "%s: cannot connect to server", service); 58 error(ERROR_SYSTEM|2, "%s: cannot write to server", service); 64 error(ERROR_SYSTEM|2, "%s: cannot read from server", service); 70 error(ERROR_SYSTEM|2, "%s: cannot connect to %s", service, svc); 77 error(ERROR_SYSTEM|2, "%s: cannot write to service", svc); 89 #include "../license/service.c"
|
H A D | 3d.h | 181 char* service; member in struct:Fs
|
/ast/src/cmd/cs/ |
H A D | css.c | 35 " is the connect stream path by which the filter service will be known.]" 37 "[t:timeout?The service will exit after a \atime\a period of client" 44 "[+PROTOCOL?A filter service must follow a simple line oriented protocol. All" 61 int service; member in struct:__anon72 101 if (con->service) 102 error(ERROR_SYSTEM|3, "service termination exit"); 110 if (con->service) 111 error(ERROR_SYSTEM|3, "service termination exit"); 116 if (con->service) 139 error(3, "service qui [all...] |
/ast/src/lib/libcoshell/ |
H A D | coexec.c | 34 service(register Coshell_t* co, Coservice_t* cs, Cojob_t* cj, int flags, Sfio_t* sp) function 51 errormsg(state.lib, ERROR_LIBRARY|2, "service %s:%s", cs->path, s); 55 errormsg(state.lib, ERROR_LIBRARY|ERROR_SYSTEM|2, "%s: cannot allocate service pipe", cs->name); 72 errormsg(state.lib, ERROR_LIBRARY|ERROR_SYSTEM|2, "%s: cannot connect to %s service", cs->path, cs->name); 89 cj->service = cs; 96 errormsg(state.lib, ERROR_LIBRARY|ERROR_SYSTEM|2, "%s: service not responding", cs->name); 117 if (!cs->fd && !service(co, cs, cj, flags, sp)) 137 cj->service = cs; 174 cj->service = 0; 195 * check service intercept [all...] |
/ast/src/cmd/at/ |
H A D | at.c | 61 "[s:service?Connect to the \bcs\b(1) service \apath\a.]:" 175 char* service = AT_SERVICE; local 232 service = opt_info.arg; 431 if ((op = csopen(&cs, service, 0)) < 0) 432 error(ERROR_SYSTEM|3, "%s: cannot open service", service); 434 error(ERROR_SYSTEM|3, "%s: service write error", service); 439 error(ERROR_SYSTEM|3, "%s: service rea [all...] |
/ast/src/cmd/coshell/ |
H A D | main.c | 30 #include "service.h" 272 * service a read event 276 service(void* handle, register int fd) function 847 if (!(state.service = strdup(s))) 848 error(3, "out of space [service]"); 882 if ((fd = csopen(state.service, CS_OPEN_TEST)) < 0) 884 if (errno == ENOENT) error(3, "%s: server not running", state.service); 885 else error(ERROR_SYSTEM|3, "%s: cannot open connect stream", state.service); 954 error(ERROR_SYSTEM|3, "%s: cannot connect to server", state.service); 962 csserve(NiL, state.service, ini [all...] |
H A D | event.c | 78 "apply to the initial service command, and the \b--expire\b, \b--log\b, " 85 "[i:initialize?Initialize the service if it is not already running.]" 212 char* service; /* service connect stream path */ member in struct:State_s 642 * service a request 1116 if (!(state.service = strdup(sfstruse(state.usrf)))) 1117 error(3, "out of space [service]"); 1147 if (!(css = cssopen(state.service, &state.disc))) 1161 log(&state, 0, 'S', "start service %s", fmtident(usage)); 1163 log(&state, 0, 'S', "stop service"); [all...] |
H A D | service.h | 25 * remote coshell service definitions 325 char* service; member in struct:__anon66
|
/ast/src/cmd/ksh93/sh/ |
H A D | io.c | 128 getaddrinfo(const char* node, const char* service, const struct addrinfo* hint, struct addrinfo **addr) argument 144 if ((n = strtol(service, &prot, 10)) > 0 && n <= USHRT_MAX && !*prot) 176 if (sp = getservbyname(service, protocol)) 209 * return <protocol>/<host>/<service> fd
|