]> sigrok.org Git - libsigrok.git/blobdiff - output/text/text.h
sr: input/output: Mark more symbols with SR_PRIV.
[libsigrok.git] / output / text / text.h
index 9d5abd530c509b1bdc70167909a3a8a255c849a9..d23d22ef3be4132de0104af16a30c6ddd8a364ed 100644 (file)
@@ -46,22 +46,23 @@ struct context {
        enum outputmode mode;
 };
 
-void flush_linebufs(struct context *ctx, char *outbuf);
-int init(struct sr_output *o, int default_spl, enum outputmode mode);
-int event(struct sr_output *o, int event_type, char **data_out,
-                uint64_t *length_out);
+SR_PRIV void flush_linebufs(struct context *ctx, char *outbuf);
+SR_PRIV int init(struct sr_output *o, int default_spl, enum outputmode mode);
+SR_PRIV int event(struct sr_output *o, int event_type, char **data_out,
+                 uint64_t *length_out);
 
+SR_PRIV int init_bits(struct sr_output *o);
+SR_PRIV int data_bits(struct sr_output *o, const char *data_in,
+                     uint64_t length_in, char **data_out,
+                     uint64_t *length_out);
 
-int init_bits(struct sr_output *o);
-int data_bits(struct sr_output *o, const char *data_in, uint64_t length_in,
-                    char **data_out, uint64_t *length_out);
+SR_PRIV int init_hex(struct sr_output *o);
+SR_PRIV int data_hex(struct sr_output *o, const char *data_in,
+                    uint64_t length_in, char **data_out, uint64_t *length_out);
 
-int init_hex(struct sr_output *o);
-int data_hex(struct sr_output *o, const char *data_in, uint64_t length_in,
-                    char **data_out, uint64_t *length_out);
-
-int init_ascii(struct sr_output *o);
-int data_ascii(struct sr_output *o, const char *data_in, uint64_t length_in,
-                    char **data_out, uint64_t *length_out);
+SR_PRIV int init_ascii(struct sr_output *o);
+SR_PRIV int data_ascii(struct sr_output *o, const char *data_in,
+                      uint64_t length_in, char **data_out,
+                      uint64_t *length_out);
 
 #endif