postcat

package
v0.0.0-...-d115e7c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PC_FLAG_SEARCH_QUEUE    = (1 << 0) /* search queue */
	PC_FLAG_PRINT_OFFSET    = (1 << 1) /* print record offsets */
	PC_FLAG_PRINT_ENV       = (1 << 2) /* print envelope records */
	PC_FLAG_PRINT_HEADER    = (1 << 3) /* print header records */
	PC_FLAG_PRINT_BODY      = (1 << 4) /* print body records */
	PC_FLAG_PRINT_RTYPE_DEC = (1 << 5) /* print decimal record type */
	PC_FLAG_PRINT_RTYPE_SYM = (1 << 6) /* print symbolic record type */
	PC_FLAG_RAW             = (1 << 7) /* don't follow pointers */
)

Application-specific.

View Source
const (
	PC_MASK_PRINT_TEXT = (PC_FLAG_PRINT_HEADER | PC_FLAG_PRINT_BODY)
	PC_MASK_PRINT_ALL  = (PC_FLAG_PRINT_ENV | PC_MASK_PRINT_TEXT)
)
View Source
const (
	PC_STATE_ENV    = 0 /* initial or extracted envelope */
	PC_STATE_HEADER = 1 /* primary header */
	PC_STATE_BODY   = 2 /* other */
)

* State machine.

Variables

This section is empty.

Functions

func Postcat

func Postcat(rd io.Reader, flags int)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL