4 * Copyright 2013 Samsung Electronics Co., Ltd
6 * Licensed under the Flora License, Version 1.1 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
10 * http://floralicense.org/license/
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
20 #ifndef __PRINT_GETPPD_H__
21 #define __PRINT_GETPPD_H__
29 PT_SOFT_CLEAN // Don't fail if file doesn't exist
40 typedef struct _config config;
49 typedef struct _resource resource;
51 /* Base initialization function */
52 config *initialization(int argc, char **argv);
54 /* Free all resources which was allocated/opened*/
55 void clean_all_resources(void);
57 /* Free memory allocated by drvm structure */
58 bool clean_drvm(drvm *drv);
60 /* Clean buffer which is allocated for */
61 /* file operations bufferization (I/O) */
62 void clean_buffer(char *buffer);
64 /* Delete temporary files */
65 bool clean_tmp_file(const char *file, pt_clean_file type);
67 /* Output help strings */
70 #endif /* __PRINT_GETPPD_H__ */