Skip to content

Commit

Permalink
Add missing license header and usubscription export
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherDaniel authored Apr 18, 2024
1 parent 3ef9400 commit 8048bc0
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/core/udiscovery.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
/********************************************************************************
* Copyright (c) 2024 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

pub use crate::up_core_api::udiscovery::{
node::Type, notification::Operation, notification::Resources, AddNodesRequest,
DeleteNodesRequest, FindNodesRequest, FindNodesResponse, LookupUriResponse, Node,
Expand Down
16 changes: 15 additions & 1 deletion src/core/usubscription.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,23 @@
/********************************************************************************
* Copyright (c) 2024 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

pub use crate::up_core_api::usubscription::{
subscription_status::State, EventDeliveryConfig, FetchSubscribersRequest,
FetchSubscriptionsRequest, FetchSubscriptionsResponse, NotificationsRequest,
SubscribeAttributes, SubscriberInfo, SubscriptionRequest, SubscriptionResponse,
SubscriptionStatus, UnsubscribeRequest,
SubscriptionStatus, UnsubscribeRequest, Update,
};

use crate::UStatus;
use async_trait::async_trait;

Expand Down
13 changes: 13 additions & 0 deletions src/core/utwin.rs
Original file line number Diff line number Diff line change
@@ -1 +1,14 @@
/********************************************************************************
* Copyright (c) 2024 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Apache License Version 2.0 which is available at
* https://www.apache.org/licenses/LICENSE-2.0
*
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

pub use crate::up_core_api::utwin::{GetLastMessagesResponse, MessageResponse};

0 comments on commit 8048bc0

Please sign in to comment.