mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Hide struct inside cpp file.
Removed my testing inspiration from tip file.
This commit is contained in:
@ -11,8 +11,16 @@
|
||||
*/
|
||||
|
||||
#include "Fortune.h"
|
||||
|
||||
#include <netinet/in.h>
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
|
||||
struct FortuneFile {
|
||||
FILE* str_file;
|
||||
FILE* dat_file;
|
||||
StrFile data;
|
||||
};
|
||||
|
||||
FortuneFile* fortune_open(const char* str_path, const char* dat_path) {
|
||||
FILE* sp = fopen(str_path, "r");
|
||||
|
Reference in New Issue
Block a user