Skip to content

Commit f40a6a9

Browse files
Export base classes and clean member annotations
1 parent 7d4e551 commit f40a6a9

4 files changed

Lines changed: 41 additions & 41 deletions

File tree

include/boost/http_proto/parser.hpp

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -112,14 +112,14 @@ class parser
112112
@ref body,
113113
@ref start.
114114
*/
115-
BOOST_HTTP_PROTO_DECL
115+
116116
bool
117117
is_complete() const noexcept;
118118

119119
#if 0
120120
/** Return true if any input was committed.
121121
*/
122-
BOOST_HTTP_PROTO_DECL
122+
123123
bool
124124
got_some() const noexcept;
125125

@@ -153,7 +153,7 @@ class parser
153153
This function must be called before parsing
154154
the first message in a new stream.
155155
*/
156-
BOOST_HTTP_PROTO_DECL
156+
157157
void
158158
reset() noexcept;
159159

@@ -167,7 +167,7 @@ class parser
167167
first message being read from the stream or if
168168
the previous message has been fully parsed.
169169
*/
170-
BOOST_HTTP_PROTO_DECL
170+
171171
void
172172
start();
173173

@@ -195,7 +195,7 @@ class parser
195195
@ref commit,
196196
@ref commit_eof.
197197
*/
198-
BOOST_HTTP_PROTO_DECL
198+
199199
mutable_buffers_type
200200
prepare();
201201

@@ -223,7 +223,7 @@ class parser
223223
@ref parse,
224224
@ref prepare.
225225
*/
226-
BOOST_HTTP_PROTO_DECL
226+
227227
void
228228
commit(
229229
std::size_t n);
@@ -241,7 +241,7 @@ class parser
241241
@ref parse,
242242
@ref prepare.
243243
*/
244-
BOOST_HTTP_PROTO_DECL
244+
245245
void
246246
commit_eof();
247247

@@ -282,7 +282,7 @@ class parser
282282
@ref commit,
283283
@ref commit_eof.
284284
*/
285-
BOOST_HTTP_PROTO_DECL
285+
286286
void
287287
parse(
288288
system::error_code& ec);
@@ -493,7 +493,7 @@ class parser
493493
@see
494494
@ref config_base::body_limit.
495495
*/
496-
BOOST_HTTP_PROTO_DECL
496+
497497
void
498498
set_body_limit(std::uint64_t n);
499499

@@ -531,7 +531,7 @@ class parser
531531
@see
532532
@ref consume_body.
533533
*/
534-
BOOST_HTTP_PROTO_DECL
534+
535535
const_buffers_type
536536
pull_body();
537537

@@ -551,7 +551,7 @@ class parser
551551
@see
552552
@ref pull_body.
553553
*/
554-
BOOST_HTTP_PROTO_DECL
554+
555555
void
556556
consume_body(std::size_t n);
557557

@@ -587,7 +587,7 @@ class parser
587587
@see
588588
@ref is_complete.
589589
*/
590-
BOOST_HTTP_PROTO_DECL
590+
591591
core::string_view
592592
body() const;
593593

@@ -605,7 +605,7 @@ class parser
605605
@ref metadata::upgrade, @ref metadata::connection.
606606
*/
607607
// VFALCO rename to get_leftovers()?
608-
BOOST_HTTP_PROTO_DECL
608+
609609
core::string_view
610610
release_buffered_data() noexcept;
611611

@@ -614,13 +614,13 @@ class parser
614614
friend class response_parser;
615615
class impl;
616616

617-
BOOST_HTTP_PROTO_DECL ~parser();
618-
BOOST_HTTP_PROTO_DECL parser() noexcept;
619-
BOOST_HTTP_PROTO_DECL parser(parser&& other) noexcept;
620-
BOOST_HTTP_PROTO_DECL parser(capy::polystore&, detail::kind);
621-
BOOST_HTTP_PROTO_DECL void assign(parser&& other) noexcept;
617+
~parser();
618+
parser() noexcept;
619+
parser(parser&& other) noexcept;
620+
parser(capy::polystore&, detail::kind);
621+
void assign(parser&& other) noexcept;
622622

623-
BOOST_HTTP_PROTO_DECL
623+
624624
void
625625
start_impl(bool);
626626

@@ -630,19 +630,19 @@ class parser
630630
static_response const&
631631
safe_get_response() const;
632632

633-
BOOST_HTTP_PROTO_DECL
633+
634634
detail::workspace&
635635
ws() noexcept;
636636

637-
BOOST_HTTP_PROTO_DECL
637+
638638
bool
639639
is_body_set() const noexcept;
640640

641-
BOOST_HTTP_PROTO_DECL
641+
642642
void
643643
set_body_impl(buffers::any_dynamic_buffer&) noexcept;
644644

645-
BOOST_HTTP_PROTO_DECL
645+
646646
void
647647
set_body_impl(sink&) noexcept;
648648

@@ -766,7 +766,7 @@ struct parser::config_base
766766
@ref request_parser::config,
767767
@ref request_parser.
768768
*/
769-
BOOST_HTTP_PROTO_DECL
769+
770770
void
771771
install_parser_service(
772772
capy::polystore& ctx,

include/boost/http_proto/request_base.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ class request_base
290290
set_expect_100_continue(bool b);
291291

292292
private:
293-
BOOST_HTTP_PROTO_DECL
293+
294294
void
295295
set_start_line_impl(
296296
http_proto::method m,

include/boost/http_proto/response_base.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ class response_base
221221
}
222222

223223
private:
224-
BOOST_HTTP_PROTO_DECL
224+
225225
void
226226
set_start_line_impl(
227227
http_proto::status sc,

include/boost/http_proto/serializer.hpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class BOOST_HTTP_PROTO_DECL serializer
117117
@param other The serializer to move from.
118118
@return A reference to this object.
119119
*/
120-
BOOST_HTTP_PROTO_DECL
120+
121121
serializer&
122122
operator=(serializer&& other) noexcept;
123123

@@ -166,7 +166,7 @@ class BOOST_HTTP_PROTO_DECL serializer
166166
@ref install_serializer_service,
167167
@ref config.
168168
*/
169-
BOOST_HTTP_PROTO_DECL
169+
170170
explicit
171171
serializer(
172172
capy::polystore& ctx);
@@ -177,7 +177,7 @@ class BOOST_HTTP_PROTO_DECL serializer
177177
prepares the serializer to start
178178
serialization of a new message.
179179
*/
180-
BOOST_HTTP_PROTO_DECL
180+
181181
void
182182
reset() noexcept;
183183

@@ -215,7 +215,7 @@ class BOOST_HTTP_PROTO_DECL serializer
215215
@ref message_base.
216216
*/
217217
void
218-
BOOST_HTTP_PROTO_DECL
218+
219219
start(message_base const& m);
220220

221221
/** Start serializing a message with a buffer sequence body
@@ -422,7 +422,7 @@ class BOOST_HTTP_PROTO_DECL serializer
422422
@ref stream,
423423
@ref message_base.
424424
*/
425-
BOOST_HTTP_PROTO_DECL
425+
426426
stream
427427
start_stream(
428428
message_base const& m);
@@ -482,7 +482,7 @@ class BOOST_HTTP_PROTO_DECL serializer
482482
@ref is_done,
483483
@ref const_buffers_type.
484484
*/
485-
BOOST_HTTP_PROTO_DECL
485+
486486
auto
487487
prepare() ->
488488
system::result<
@@ -522,7 +522,7 @@ class BOOST_HTTP_PROTO_DECL serializer
522522
@ref is_done,
523523
@ref const_buffers_type.
524524
*/
525-
BOOST_HTTP_PROTO_DECL
525+
526526
void
527527
consume(std::size_t n);
528528

@@ -537,22 +537,22 @@ class BOOST_HTTP_PROTO_DECL serializer
537537
template<class>
538538
class cbs_gen_impl;
539539

540-
BOOST_HTTP_PROTO_DECL
540+
541541
detail::workspace&
542542
ws();
543543

544-
BOOST_HTTP_PROTO_DECL
544+
545545
void
546546
start_init(
547547
message_base const&);
548548

549-
BOOST_HTTP_PROTO_DECL
549+
550550
void
551551
start_buffers(
552552
message_base const&,
553553
cbs_gen&);
554554

555-
BOOST_HTTP_PROTO_DECL
555+
556556
void
557557
start_source(
558558
message_base const&,
@@ -662,7 +662,7 @@ struct serializer::config
662662
@ref serializer::config,
663663
@ref serializer.
664664
*/
665-
BOOST_HTTP_PROTO_DECL
665+
666666
void
667667
install_serializer_service(
668668
capy::polystore& ctx,
@@ -771,7 +771,7 @@ class serializer::stream
771771
@throw std::logic_error
772772
`this->is_open() == false`.
773773
*/
774-
BOOST_HTTP_PROTO_DECL
774+
775775
std::size_t
776776
capacity() const;
777777

@@ -833,7 +833,7 @@ class serializer::stream
833833
@ref prepare,
834834
@ref capacity.
835835
*/
836-
BOOST_HTTP_PROTO_DECL
836+
837837
void
838838
commit(std::size_t n);
839839

@@ -851,7 +851,7 @@ class serializer::stream
851851
this->is_open() == false
852852
@endcode
853853
*/
854-
BOOST_HTTP_PROTO_DECL
854+
855855
void
856856
close() noexcept;
857857

0 commit comments

Comments
 (0)