Searched defs:errstr (Results 1 - 10 of 10) sorted by relevance

/httpd/modules/lua/
H A Dlua_passwd.c47 static int generate_salt(char *s, size_t size, const char **errstr, argument
59 *errstr = apr_psprintf(pool, "generate_salt(): BUG: Buffer too small");
64 *errstr = apr_psprintf(pool, "Unable to generate random bytes: %pm",
85 * indicates success; on failure, ctx->errstr points to the error message.
105 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool);
112 ctx->errstr = apr_psprintf(ctx->pool,
120 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool);
126 ctx->errstr = apr_psprintf(ctx->pool, "crypt() failed: %pm", &rv);
136 ctx->errstr = apr_psprintf(ctx->pool,
149 ctx->errstr
[all...]
H A Dlua_passwd.h70 const char *errstr; member in struct:passwd_ctx
81 * the ERR_* codes is returned and an error message is stored in ctx->errstr.
H A Dmod_lua.c1067 const char *errstr = apr_pstrcat(cmd->pool, "Lua Error:", local
1070 return errstr;
/httpd/modules/loggers/
H A Dmod_syslog.c131 void *handle, const char *errstr,
137 syslog(level < LOG_PRIMASK ? level : APLOG_DEBUG, "%.*s", (int)len, errstr);
130 syslog_error_log(const ap_errorlog_info *info, void *handle, const char *errstr, apr_size_t len) argument
H A Dmod_journald.c98 const char *errstr, int len, int priority,
108 sd_journal_send("MESSAGE=%s", errstr, "LOG=%s", log,
123 IOVEC_ADD_LEN("MESSAGE=%s", errstr, len + 8);
149 void *handle, const char *errstr,
162 sd_journal_send("MESSAGE=%s", errstr, "LOG=%s", "log_name",
168 journald_log(pool, log_name, errstr, len,
97 journald_log(apr_pool_t *pool, const char *log, const char *errstr, int len, int priority, const server_rec *s, const request_rec *r) argument
148 journald_error_log(const ap_errorlog_info *info, void *handle, const char *errstr, apr_size_t len) argument
/httpd/support/
H A Dpasswd_common.c71 static int generate_salt(char *s, size_t size, const char **errstr, argument
88 *errstr = apr_psprintf(pool, "Unable to generate random bytes: %pm",
127 ctx->errstr = "Unable to read from stdin.";
159 ctx->errstr = "password verification error";
169 ctx->errstr = apr_psprintf(ctx->pool,
177 * indicates success; on failure, ctx->errstr points to the error message.
207 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool);
212 ctx->errstr = apr_psprintf(ctx->pool,
225 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool);
231 ctx->errstr
[all...]
H A Dpasswd_common.h77 const char *errstr; member in struct:passwd_ctx
104 * the ERR_* codes is returned and an error message is stored in ctx->errstr.
/httpd/modules/dav/fs/
H A Ddbm.c86 const char *errstr; local
98 errstr = "Could not open property database.";
105 errstr = apr_pstrdup(p, errbuf);
108 err = dav_new_error(p, HTTP_INTERNAL_SERVER_ERROR, errcode, status, errstr);
/httpd/modules/dav/lock/
H A Dlocks.c208 const char *errstr; local
219 errstr = "Could not open property database.";
223 errstr = apr_pstrdup(p, errbuf);
226 err = dav_new_error(p, HTTP_INTERNAL_SERVER_ERROR, errcode, status, errstr);
/httpd/server/
H A Dlog.c1020 static void write_logline(char *errstr, apr_size_t len, apr_file_t *logf, argument
1024 apr_file_puts(errstr, logf);
1035 char errstr[MAX_STRING_LEN]; local
1199 len += do_errorlog_format(log_format, &info, errstr + len,
1204 len += do_errorlog_default(&info, errstr + len, MAX_STRING_LEN - len,
1208 if (!*errstr) {
1222 strcpy(errstr + len, APR_EOL_STR);
1227 write_logline(errstr, len, logf, level_and_mask);
1231 errstr, len);
1240 errstr[errstr_en
[all...]

Completed in 226 milliseconds