File: output.h

package info (click to toggle)
netconsd 0.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 344 kB
  • sloc: ansic: 2,650; cpp: 111; python: 107; makefile: 98
file content (23 lines) | stat: -rw-r--r-- 545 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the BSD-style license found in the
 * LICENSE file in the root directory of this source tree.
 */

#ifndef __OUTPUT_H__
#define __OUTPUT_H__

#include <ncrx-struct.h>

#include "msgbuf-struct.h"

#define MAXOUTS 32

int register_output_module(char *path, int nr_workers);
void destroy_output_modules(void);

void execute_output_pipeline(int thread_nr, struct in6_addr *src,
		struct msg_buf *buf, struct ncrx_msg *msg);

#endif /* __OUTPUT_H__ */