[go: up one dir, main page]

File: extract.h

package info (click to toggle)
foot 1.6.4-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,492 kB
  • sloc: ansic: 21,242; python: 170; sh: 26; makefile: 7
file content (17 lines) | stat: -rw-r--r-- 393 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <stddef.h>
#include <stdbool.h>

#include "terminal.h"

struct extraction_context;

struct extraction_context *extract_begin(enum selection_kind kind);

bool extract_one(
    const struct terminal *term, const struct row *row, const struct cell *cell,
    int col, void *context);

bool extract_finish(
    struct extraction_context *context, char **text, size_t *len);