# Libtmux.Source

- **Package:** libtmux
- **Language:** OCaml
- **Kind:** module
- **Source:** https://github.com/libtmux/libtmux-ocaml/blob/205dfda49742592b479247049d186956e4a4cfe9/lib/libtmux.mli#L96
- **Public owner:** Libtmux
- **Page:** https://libtmux.org/en/ocaml/latest/reference/libtmux-source/

```ocaml
module Source
```

Endpoint and observed daemon identity for one connection generation. Constructing metadata alone does not establish a live binding.

## Members

### Other members

- [`create`](/en/ocaml/latest/reference/libtmux-source-create/) (function): Pure metadata import for capture adapters. This neither establishes a connection nor verifies process identity. The backend must bind the generation to a live daemon before it admits operations.
- [`endpoint`](/en/ocaml/latest/reference/libtmux-source-endpoint/) (function)
- [`equal`](/en/ocaml/latest/reference/libtmux-source-equal/) (function): Compare endpoint, observed daemon PID and connection generation. Independent connections compare unequal even when they observe the same PID. Equality establishes neither a live binding nor fresh observations.
- [`generation`](/en/ocaml/latest/reference/libtmux-source-generation/) (function)
- [`server_pid`](/en/ocaml/latest/reference/libtmux-source-server_pid/) (function)
- [`t`](/en/ocaml/latest/reference/libtmux-source-t/) (typealias)
