1 #ifndef _h_kfg_ngc_priv_ 2 #define _h_kfg_ngc_priv_ 3 4 /*=========================================================================== 5 * 6 * PUBLIC DOMAIN NOTICE 7 * National Center for Biotechnology Information 8 * 9 * This software/database is a "United States Government Work" under the 10 * terms of the United States Copyright Act. It was written as part of 11 * the author's official duties as a United States Government employee and 12 * thus cannot be copyrighted. This software/database is freely available 13 * to the public for use. The National Library of Medicine and the U.S. 14 * Government have not placed any restriction on its use or reproduction. 15 * 16 * Although all reasonable efforts have been taken to ensure the accuracy 17 * and reliability of the software and data, the NLM and the U.S. 18 * Government do not and cannot warrant the performance or results that 19 * may be obtained by using this software or data. The NLM and the U.S. 20 * Government disclaim all warranties, express or implied, including 21 * warranties of performance, merchantability or fitness for any particular 22 * purpose. 23 * 24 * Please cite the author in any work or product based on this material. 25 * 26 * =========================================================================== 27 * 28 */ 29 30 31 #ifndef _h_kfg_ngc_ 32 #include <kfg/ngc.h> 33 #endif 34 35 #ifndef _h_klib_data_buffer 36 #include <klib/data-buffer.h> 37 #endif 38 39 #ifndef _h_klib_text_ 40 #include <klib/text.h> 41 #endif 42 43 #ifndef _h_klib_refcount_ 44 #include <klib/refcount.h> 45 #endif 46 47 48 #ifdef __cplusplus 49 extern "C" { 50 #endif 51 52 struct KNgcObj 53 { 54 KRefcount refcount; 55 KDataBuffer buffer; 56 String version, encryptionKey, downloadTicket, description; 57 uint32_t projectId; 58 }; 59 60 61 rc_t KNgcObjGetEncryptionKey(const KNgcObj *self, 62 char * buffer, size_t buffer_size, size_t * written); 63 64 rc_t KNgcObjMakeFromCmdLine(const KNgcObj ** self); 65 66 #ifdef __cplusplus 67 } 68 #endif 69 70 #endif /* _h_kfg_ngc_priv_ */ 71