64,654
社区成员
发帖
与我相关
我的任务
分享
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <iostream>
#include <string>
using namespace std;
using std::string;
#include "file1.h"
#include "file2.h"
typedef enum _SOURCESTREAM_STATE
{
SOURCESTREAM_INVALID = -1,
SOURCESTREAM_INIT = 0,
SOURCESTREAM_START = 1,
SOURCESTREAM_STOP = 2,
}SOURCESTREAM_STATE;
#include "main.h"
void file1_funtion(SOURCESTREAM_STATE state);
#include "file1.h"
void file1_funtion(SOURCESTREAM_STATE state)
{
if (state == SOURCESTREAM_START)
{
printf("[%s][%d][%s]\n", __FILE__, __LINE__, __func__);
}
}