Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
a77d39cf
Commit
a77d39cf
authored
Feb 27, 2006
by
Niels Möller
Browse files
Cosmetic changes.
Rev: src/format.h:1.45.2.5
parent
1bd2acfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/format.h
View file @
a77d39cf
...
...
@@ -92,25 +92,23 @@ ssh_format(const char *format, ...);
#endif
/* !DEBUG_ALLOC */
uint32_t
ssh_format_length
(
const
char
*
format
,
...);
void
ssh_format_write
(
const
char
*
format
,
void
ssh_format_write
(
const
char
*
format
,
struct
lsh_string
*
buffer
,
uint32_t
pos
,
...);
uint32_t
ssh_vformat_length
(
const
char
*
format
,
va_list
args
);
void
ssh_vformat_write
(
const
char
*
format
,
struct
lsh_string
*
buffer
,
uint32_t
pos
,
va_list
args
);
uint32_t
ssh_vformat_length
(
const
char
*
format
,
va_list
args
);
void
format_
hex_string
(
struct
lsh_string
*
buffer
,
uint32_t
pos
,
uint32_t
length
,
const
uint
8
_t
*
data
);
ssh_v
format_
write
(
const
char
*
format
,
struct
lsh_string
*
buffer
,
uint
32
_t
pos
,
va_list
args
);
/* Short cut
s
*/
/* Short cut */
#define make_string(s) (ssh_format("%lz", (s)))
unsigned
format_size_in_decimal
(
uint32_t
n
);
void
format_decimal
(
struct
lsh_string
*
buffer
,
uint32_t
pos
,
uint32_t
length
,
uint32_t
n
);
unsigned
format_size_in_decimal
(
uint32_t
n
);
/* Helper functions for formatting particular ssh messages */
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment