Lines Matching defs:server

11 __RCSID("$NetBSD: server.c,v 1.8 2016/05/17 14:00:09 christos Exp $");
38 * functions (encryption & the like) get compiled with or without server
101 the same as the system username the server eventually switches to
562 * Return true if we need to relay write requests to a primary server
583 * true If this server is configured as a secondary server.
594 /* If there is no primary server defined in CVSROOT/config, then we can't
685 static const char msg[] = "E Fatal server error\n\
836 * secondary server or not.
840 /* Else we are not a secondary server. There is no point in
892 printf ("E Fatal server error, aborting.\n\
983 "E %s server: Forcing compression level %d (allowed: %zu <= z <= %zu).",
1019 /* Is this pathname OK to recurse into when we are running as the server?
1033 A quick fix in the server would be requiring Max-dotdot of
1036 A cleaner fix in the server might be to decouple the
1044 "absolute pathnames invalid for server (specified `%s')",
1181 "E absolute pathnames invalid for server (specified `%s')",
1240 we want the server to descend them, even if the client hasn't
1805 * first or send the client an error, since the client/server
2145 * send the client an error, since the client/server protocol
2408 /* Become a secondary write proxy to a master server.
2441 /* Open connection to primary server. */
2598 /* Avoid resending data from the server which we already sent to the
2637 * client later used the request, the primary server
2766 "E This CVS server does not support disconnected `%s edit'. For now, remove all `%s' files in your workspace and try your command again.",
3110 * be processed before knowing whether we are running as a secondary server
3244 /* Pick up ignores from CVSROOTADM_IGNORE, $HOME/.cvsignore on server,
3245 and CVSIGNORE on server. */
3281 /* This is the output which we are saving up to send to the server, in the
3557 /* And return to the main loop in server(), where we will now
3568 "E You need a CVS client that supports the `Redirect' response for write requests to this server.");
3586 /* Global `cvs_cmd_name' is probably "server" right now -- only
3594 buf_output0 (buf_to_net, " [server aborted]: \"");
4163 buf_output0 (buf_to_net, " on server.\n\
4247 * Called by the child at convenient points in the server's execution for
4248 * the server child to block.. ie: when it has no locks active.
4314 /* This variable commented in server.h. */
4454 "E CVS server internal error: duplicate Scratch_Entry\n");
4484 "CVS server internal error: Register missing\n");
4892 /* If we are not a secondary server, the write proxy log will already have
4906 /* And return to the main loop in server(), where we will now find
4939 /* At least for now, our practice is to have the server enforce
4957 /* See server.h for description. */
4982 /* See server.h for description. */
5025 CVS server internal error: no mode in server_updated");
5049 server (set in .bashrc if rsh is in use) affects
5160 with a current client and server. */
5163 CVS server internal error: unhandled case in server_updated");
5235 "CVS server internal error: `%s' vs. `%s' scratched",
5276 "CVS server internal error: Register *and* Scratch_Entry.\n");
5511 "E %s server: Forcing compression level %d (allowed: %zu <= z <= %zu).",
5542 "E %s server: Forcing compression level %d (allowed: %zu <= z <= %zu).",
5580 * verbatim lines from a cvswrappers file, but the server has
5582 * Therefore, the server loops over wrap_list, unparsing each
5746 /* Decide if we should redirect the client to another server.
5749 * config->PrimaryServer The server to redirect write requests to, if
5813 /* Don't ditch the log for write commands on a proxy server. We
5917 through 1.9 servers. The server must support it (although it can
5929 /* This is rootless, even though the client/server spec does not specify
5939 /* These are rootless despite what the client/server spec says for the same
6007 * This server request is not ignored by the secondary.
6071 * This function cleans up after the server. Specifically, it:
6096 * error_use_protocol Set when the server parent process is active.
6097 * Cleared for the server child processes.
6140 * parent server process, to avoid cleaning up the temp space multiple
6342 server (int argc, char **argv)
6411 /* Since we're in the server parent process, error should use the
6422 server doesn't, causing the server to print a usage message.
6423 FIXME: just a nit, I suppose, but the usage message the server
6424 prints isn't literally true--it suggests "cvs server" followed
6427 by this server" or something like that instead of usage message. */
6429 sprintf(error_prog_name, "%s server", program_name);
6441 buf_output0 (buf_to_net, "E Fatal server error, aborting.\n\
6483 "E %s [server aborted]: Compression must be used with this server.",
7180 * the server. In this case, the start and stop strings are
7188 * On a verification request, the server's responses are the same
7193 * client/server protocol can't start up until authentication is
7194 * successful. But in order to perform authentication, the server
7238 error (1, 0, "GSSAPI authentication not supported by this server");
7246 error (1, 0, "Password authentication not supported by this server");
7319 repository is sent in later client/server protocol. */
7449 /* Acquire the server credential to verify the client's
7454 error (1, 0, "could not acquire GSSAPI server credentials");
7619 Given the way the CVS server buffers up data, that can easily
7853 point to the same place. For the server case this is taken
7872 but this function is used to flush information from the server back
7881 * on the server should only be writing to stdout anyhow
7918 main.c, didn't get called in the server child process. But
7937 case (e.g. non-client/server), TAG is just "newline" to output a
7992 /* Output UTC when running as a server without MT support in