Changeset 8b5690f in mainline for uspace/lib/c/generic/private
- Timestamp:
- 2011-02-03T05:11:01Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ba38f72c
- Parents:
- 22027b6e (diff), 86d7bfa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/lib/c/generic/private
- Files:
-
- 1 added
- 5 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/private/async.h
r22027b6e r8b5690f 33 33 */ 34 34 35 #ifndef LIBC_ ASYNC_PRIV_H_36 #define LIBC_ ASYNC_PRIV_H_35 #ifndef LIBC_PRIVATE_ASYNC_H_ 36 #define LIBC_PRIVATE_ASYNC_H_ 37 37 38 38 #include <adt/list.h> … … 51 51 /** If true, we have timed out. */ 52 52 bool occurred; 53 53 54 54 /** Expiration time. */ 55 55 struct timeval expires; … … 65 65 } wu_event_t; 66 66 67 68 67 /** Structures of this type represent a waiting fibril. */ 69 68 typedef struct { … … 73 72 /** If true, this fibril is currently active. */ 74 73 bool active; 75 74 76 75 /** Timeout wait data. */ 77 76 to_event_t to_event; … … 80 79 } awaiter_t; 81 80 82 extern void async_insert_timeout(awaiter_t *wd); 81 extern void __async_init(void); 82 extern void async_insert_timeout(awaiter_t *); 83 83 84 84 #endif -
uspace/lib/c/generic/private/async_sess.h
r22027b6e r8b5690f 1 1 /* 2 * Copyright (c) 20 06 Ondrej Palkovsky2 * Copyright (c) 2011 Martin Decky 3 3 * All rights reserved. 4 4 * … … 33 33 */ 34 34 35 #i nclude <stdio.h>36 # include <stdlib.h>35 #ifndef LIBC_PRIVATE_ASYNC_SESS_H_ 36 #define LIBC_PRIVATE_ASYNC_SESS_H_ 37 37 38 /* TODO 39 void errx(int __status, __const char *__format, ...) 40 { 41 _exit(0); 42 } 43 */ 38 extern void __async_sess_init(void); 39 40 #endif 44 41 45 42 /** @} -
uspace/lib/c/generic/private/io.h
r22027b6e r8b5690f 1 1 /* 2 * Copyright (c) 20 09 Lukas Mejdrech2 * Copyright (c) 2011 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup ip29 /** @addtogroup libc 30 30 * @{ 31 31 */ 32 33 32 /** @file 34 * IP module functions.35 * The functions are used as IP module entry points.36 33 */ 37 34 38 #ifndef NET_IP_MODULE_H_39 #define NET_IP_MODULE_H_35 #ifndef LIBC_PRIVATE_IO_H_ 36 #define LIBC_PRIVATE_IO_H_ 40 37 41 #include < ipc/ipc.h>38 #include <vfs/vfs.h> 42 39 43 extern int ip_initialize(async_client_conn_t); 44 extern int ip_message_standalone(ipc_callid_t, ipc_call_t *, ipc_call_t *, 45 int *); 40 extern void __stdio_init(int filc, fdi_node_t *filv[]); 41 extern void __stdio_done(void); 46 42 47 43 #endif -
uspace/lib/c/generic/private/libc.h
r22027b6e r8b5690f 1 1 /* 2 * Copyright (c) 20 09 Lukas Mejdrech2 * Copyright (c) 2011 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup arp29 /** @addtogroup libc 30 30 * @{ 31 31 */ 32 33 32 /** @file 34 * ARP module functions.35 * The functions are used as ARP module entry points.36 33 */ 37 34 38 #ifndef NET_ARP_MODULE_H_39 #define NET_ARP_MODULE_H_35 #ifndef LIBC_PRIVATE_LIBC_H_ 36 #define LIBC_PRIVATE_LIBC_H_ 40 37 41 #include <ipc/ipc.h> 42 #include <async.h> 43 44 extern int arp_initialize(async_client_conn_t); 45 extern int arp_message_standalone(ipc_callid_t, ipc_call_t *, ipc_call_t *, 46 int *); 38 extern int main(int, char *[]); 39 extern void __main(void *) __attribute__((noreturn)); 47 40 48 41 #endif -
uspace/lib/c/generic/private/thread.h
r22027b6e r8b5690f 1 1 /* 2 * Copyright (c) 20 08 Lukas Mejdrech2 * Copyright (c) 2011 Martin Decky 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup tcp29 /** @addtogroup libc 30 30 * @{ 31 31 */ 32 33 32 /** @file 34 * TCP module functions.35 * The functions are used as TCP module entry points.36 33 */ 37 34 38 #ifndef NET_TCP_MODULE_H_39 #define NET_TCP_MODULE_H_35 #ifndef LIBC_PRIVATE_THREAD_H_ 36 #define LIBC_PRIVATE_THREAD_H_ 40 37 41 #include <async.h> 42 #include <ipc/ipc.h> 38 #include <kernel/proc/uarg.h> 43 39 44 extern int tcp_initialize(async_client_conn_t); 45 extern int tcp_message_standalone(ipc_callid_t, ipc_call_t *, ipc_call_t *, 46 int *); 40 extern void __thread_entry(void); 41 extern void __thread_main(uspace_arg_t *); 47 42 48 43 #endif
Note:
See TracChangeset
for help on using the changeset viewer.