1.1 --- a/docs/wiki/ServerLibrary Tue Jun 28 01:02:14 2022 +0200
1.2 +++ b/docs/wiki/ServerLibrary Thu Jun 30 21:17:30 2022 +0200
1.3 @@ -14,8 +14,8 @@
1.4 This interface provides the following operations:
1.5
1.6 {{{
1.7 -void attach()
1.8 -unsigned int detach()
1.9 +void attach();
1.10 +unsigned int detach();
1.11 }}}
1.12
1.13 Its purpose is to provide reference counting for components, with the `attach`
1.14 @@ -42,11 +42,11 @@
1.15 File content is accessed through an interface with the following operations:
1.16
1.17 {{{
1.18 -void close()
1.19 -void fill(Flexpage *flexpage)
1.20 -void flush(Flexpage *flexpage)
1.21 -offset_t get_size()
1.22 -void set_size(offset_t size)
1.23 +void close();
1.24 +void fill(Flexpage *flexpage);
1.25 +void flush(Flexpage *flexpage);
1.26 +offset_t get_size();
1.27 +void set_size(offset_t size);
1.28 }}}
1.29
1.30 The operations need to be supported with actual filesystem operations. For
1.31 @@ -62,11 +62,11 @@
1.32 The following operations are supported by providers:
1.33
1.34 {{{
1.35 -ProviderRegistry *registry()
1.36 -long make_resource(offset_t *size, object_flags_t *object_flags, Resource **resource)
1.37 -bool removal_pending()
1.38 -void remove()
1.39 -void remove_pending(bool remove)
1.40 +ProviderRegistry *registry();
1.41 +long make_resource(offset_t *size, object_flags_t *object_flags, Resource **resource);
1.42 +bool removal_pending();
1.43 +void remove();
1.44 +void remove_pending(bool remove);
1.45 }}}
1.46
1.47 Providers are associated with filesystem objects in a registry which can be
1.48 @@ -112,8 +112,8 @@
1.49 The base interface of a resource is as follows:
1.50
1.51 {{{
1.52 -void activate()
1.53 -void close()
1.54 +void activate();
1.55 +void close();
1.56 }}}
1.57
1.58 Activation of a resource is an optional operation that performs any