tftp-file.h (e6209940dee96d8deed5ee7c2b2663512dd55db9) | tftp-file.h (fdf929ff91d432d17c4d7d0aa0f9995fffe6fa8e) |
---|---|
1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (C) 2008 Edwin Groothuis. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 22 unchanged lines hidden (view full) --- 31int write_init(int fd, FILE *f, const char *mode); 32size_t write_file(char *buffer, int count); 33int write_close(void); 34 35int read_init(int fd, FILE *f, const char *mode); 36size_t read_file(char *buffer, int count); 37int read_close(void); 38 | 1/*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 3 * 4 * Copyright (C) 2008 Edwin Groothuis. All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 22 unchanged lines hidden (view full) --- 31int write_init(int fd, FILE *f, const char *mode); 32size_t write_file(char *buffer, int count); 33int write_close(void); 34 35int read_init(int fd, FILE *f, const char *mode); 36size_t read_file(char *buffer, int count); 37int read_close(void); 38 |
39int seek_file(off_t offset); 40off_t tell_file(void); 41 |
|
39int synchnet(int peer); | 42int synchnet(int peer); |