X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fvdpram.h;h=3e8de049de51a79663b12f3f1f1b10e27e561b24;hb=refs%2Ftags%2Fsubmit%2Ftizen%2F20140408.080659;hp=02d11af0fcb12306da87d32e571cadcd11e80cac;hpb=530d5eae99f4404ee85fe3fe85dfb326d0f854d2;p=platform%2Fcore%2Ftelephony%2Ftel-plugin-vmodem.git diff --git a/include/vdpram.h b/include/vdpram.h index 02d11af..3e8de04 100644 --- a/include/vdpram.h +++ b/include/vdpram.h @@ -1,9 +1,7 @@ /* * tel-plugin-vmodem * - * Copyright (c) 2012 Samsung Electronics Co., Ltd. All rights reserved. - * - * Contact: Junhwan An + * Copyright (c) 2013 Samsung Electronics Co. Ltd. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -21,12 +19,13 @@ #ifndef __VDPRAM_H__ #define __VDPRAM_H__ -int vdpram_close(int fd); -int vdpram_open (void); -gboolean vdpram_poweron(int fd); -gboolean vdpram_poweroff(int fd); +gint vdpram_open (void); +gboolean vdpram_close(gint fd); + +gboolean vdpram_poweron(gint fd); +gboolean vdpram_poweroff(gint fd); -int vdpram_tty_read(int nFd, void* buf, size_t nbytes); -int vdpram_tty_write(int nFd, void* buf, size_t nbytes); +gint vdpram_tty_read(gint fd, void *buf, size_t buf_len); +gint vdpram_tty_write(gint fd, void *buf, size_t buf_len); -#endif +#endif /* __VDPRAM_H__ */