mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 14:08:20 +00:00
Revert "Move BinPAC, bifcl, af_packet, and gen_zam submodules into main zeek repo"
This commit is contained in:
parent
a10a70994e
commit
e64ec54172
146 changed files with 50 additions and 20635 deletions
|
@ -1,37 +0,0 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
#ifndef pac_enum_h
|
||||
#define pac_enum_h
|
||||
|
||||
#include "pac_decl.h"
|
||||
|
||||
class Enum {
|
||||
public:
|
||||
Enum(ID* id, Expr* expr = 0);
|
||||
~Enum();
|
||||
|
||||
void GenHeader(Output* out_h, int* pval);
|
||||
|
||||
private:
|
||||
ID* id_;
|
||||
Expr* expr_;
|
||||
};
|
||||
|
||||
class EnumDecl : public Decl {
|
||||
public:
|
||||
EnumDecl(ID* id, EnumList* enumlist);
|
||||
~EnumDecl() override;
|
||||
|
||||
Type* DataType() const { return datatype_; }
|
||||
|
||||
void Prepare() override;
|
||||
void GenForwardDeclaration(Output* out_h) override;
|
||||
void GenCode(Output* out_h, Output* out_cc) override;
|
||||
|
||||
private:
|
||||
EnumList* enumlist_;
|
||||
Type* datatype_;
|
||||
TypeDecl* extern_typedecl_;
|
||||
};
|
||||
|
||||
#endif // pac_enum_h
|
Loading…
Add table
Add a link
Reference in a new issue