Line data Source code
1 : /* 2 : * Copyright (c) 2017 Juniper Networks, Inc. All rights reserved. 3 : * Copyright Contributors to the OpenSDN project 4 : */ 5 : 6 : #ifndef QE_SANDESH_H_ 7 : #define QE_SANDESH_H_ 8 : 9 : #include <sandesh/sandesh_types.h> 10 : #include <sandesh/sandesh.h> 11 : 12 : struct QESandeshContext : public SandeshContext { 13 44 : QESandeshContext(QueryEngine *qe) : 14 : SandeshContext(), 15 44 : qe_(qe) {} 16 47 : QueryEngine *QE() { return qe_;} 17 : QueryEngine *qe_; 18 : }; 19 : 20 : #endif /* QE_SANDESH_H_ */